handle dump of RunSummary with and without '\n' and/or '\r' properly.
This commit is contained in:
parent
4b3e77dcd6
commit
5a0077f51b
@ -248,6 +248,8 @@ int dump_header_root(const std::string fileName, const bool summary, const bool
|
||||
tstr = static_cast<TObjString*>(runSum->At(i));
|
||||
str = tstr->String();
|
||||
std::cout << str;
|
||||
if (!str.Contains("\r") && !str.Contains("\n"))
|
||||
std::cout << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user