mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-15 15:16:47 +02:00
Indentation is not perfect, but pretty good. Not sure how to perfect, given the difficulty of testing the last char written.
This commit is contained in:
@@ -672,7 +672,7 @@ StyledStreamWriter::writeIndent()
|
||||
*document_ << '\n';
|
||||
}
|
||||
*/
|
||||
*document_ << indentString_;
|
||||
*document_ << '\n' << indentString_;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user