Skip to content

Commit

Permalink
Optional space after comma
Browse files Browse the repository at this point in the history
  • Loading branch information
cdunn2001 committed Aug 21, 2016
1 parent f78f685 commit 80a82ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib_json/json_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ void BuiltStyledStreamWriter::writeArrayValue(Value const& value) {
if (!indentation_.empty()) *sout_ << " ";
for (unsigned index = 0; index < size; ++index) {
if (index > 0)
*sout_ << ", ";
*sout_ << ((!indentation_.empty()) ? ", " : ",");
*sout_ << childValues_[index];
}
if (!indentation_.empty()) *sout_ << " ";
Expand Down

0 comments on commit 80a82ea

Please sign in to comment.