handle dump of RunSummary with and without '\n' and/or '\r' properly.

This commit is contained in:
suter_a 2023-08-31 07:47:47 +02:00
parent 4b3e77dcd6
commit 5a0077f51b

View File

@ -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;
}
}