Added a space before the object's values

This commit is contained in:
Benoit Blanchon committed 2014-08-25 10:34:28 +02:00
1 parent 66c05041e8
commit 410ca55e88
2 files changed
+15 -4

No files matched your search

+11
View File
@@ -39,6 +39,17 @@ size_t IndentedPrintDecorator::write(uint8_t c)
return sink.write(c) + writeln();
}
case ':':
previousChar = c;
if (isInAString)
{
return sink.write(c);
}
else
{
return sink.write(c) + sink.write(' ');
}
case '\"':
if (previousChar != '\\')
{