Added a space before the object's values

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

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 != '\\')
{