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:
Christopher Dunn 2007-06-13 17:02:01 +00:00
parent 605cd7e902
commit 9f8abcb258

View File

@ -672,7 +672,7 @@ StyledStreamWriter::writeIndent()
*document_ << '\n';
}
*/
*document_ << indentString_;
*document_ << '\n' << indentString_;
}