Merge pull request #886 from servusDei2018/dev

Optimized by replacing `endl` with `'\n'`
This commit is contained in:
Yann Collet 2020-08-21 14:17:43 -07:00 committed by GitHub
commit 34fe7c9d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,10 +96,9 @@ void print_line(stringstream &sout, string line)
epos = line.find("*/");
if (spos!=string::npos && epos!=string::npos) {
sout << line.substr(0, spos);
sout << "</b>" << line.substr(spos) << "<b>" << endl;
sout << "</b>" << line.substr(spos) << "<b>" << '\n';
} else {
// fprintf(stderr, "lines=%s\n", line.c_str());
sout << line << endl;
sout << line << '\n';
}
}