diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-09-28 10:40:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-28 10:40:00 +0200 |
commit | 5df687c316023ad0238d557d46ed4eb74eb0dcb9 (patch) | |
tree | 7b43fd45fe30cacaff4805fb919fefc702170008 /src | |
parent | 3655875483306fa893ec2b01295151819a00ccaa (diff) | |
parent | a76fb07314d3c5dea06ac2c1a36f8af1e76c2dde (diff) |
Merge pull request #4077 from Ma27/left-whitespace-log
libmain/progress-bar: don't trim whitespace on the left
Diffstat (limited to 'src')
-rw-r--r-- | src/libmain/progress-bar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmain/progress-bar.cc b/src/libmain/progress-bar.cc index be3c06a38..07b45b3b5 100644 --- a/src/libmain/progress-bar.cc +++ b/src/libmain/progress-bar.cc @@ -256,7 +256,7 @@ public: } else if (type == resBuildLogLine || type == resPostBuildLogLine) { - auto lastLine = trim(getS(fields, 0)); + auto lastLine = chomp(getS(fields, 0)); if (!lastLine.empty()) { auto i = state->its.find(act); assert(i != state->its.end()); |