mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-12 10:03:51 +01: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:
parent
605cd7e902
commit
9f8abcb258
@ -672,7 +672,7 @@ StyledStreamWriter::writeIndent()
|
|||||||
*document_ << '\n';
|
*document_ << '\n';
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
*document_ << indentString_;
|
*document_ << '\n' << indentString_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user