diff options
author | Brad King <brad.king@kitware.com> | 2008-03-07 21:01:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-07 21:01:22 (GMT) |
commit | d4f66dfa327bc97e4e1655a027a9c3ff5e6c519c (patch) | |
tree | 2c2a7fe2679bf45a378bfb7cbbf4c06ca31c6806 /Source/cmDocumentationFormatterText.cxx | |
parent | 5233b75a777b0f3379408291e6f32b0eb15c2f54 (diff) | |
download | CMake-d4f66dfa327bc97e4e1655a027a9c3ff5e6c519c.zip CMake-d4f66dfa327bc97e4e1655a027a9c3ff5e6c519c.tar.gz CMake-d4f66dfa327bc97e4e1655a027a9c3ff5e6c519c.tar.bz2 |
ENH: In cmMakefile::IssueMessage use cmDocumentationFormatterText to format the message nicely.
Diffstat (limited to 'Source/cmDocumentationFormatterText.cxx')
-rw-r--r-- | Source/cmDocumentationFormatterText.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentationFormatterText.cxx b/Source/cmDocumentationFormatterText.cxx index ca22166..b45abf8 100644 --- a/Source/cmDocumentationFormatterText.cxx +++ b/Source/cmDocumentationFormatterText.cxx @@ -69,7 +69,7 @@ void cmDocumentationFormatterText::PrintPreformatted(std::ostream& os, bool newline = true; for(const char* ptr = text; *ptr; ++ptr) { - if(newline) + if(newline && *ptr != '\n') { os << this->TextIndent; newline = false; |