Commit 52ad7a5a authored by Brad King's avatar Brad King
Browse files

BUG: Do not produce whitespace-only lines when indenting messages in new error/warning format.

parent 1d23ea1a
......@@ -289,7 +289,7 @@ void cmMakefilePrintPrefixed(std::ostream& os, const char* prefix,
bool newline = true;
for(const char* c = msg.c_str(); *c; ++c)
if(newline && *c != '\n')
os << prefix;
newline = false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment