Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d59d16a4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "logd: trailing spaces in log statistics"

parents 73cc6edf 0adcc3e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -284,7 +284,7 @@ std::string UidEntry::format(const LogStatistics &stat, log_id_t id) const {
            if ((spaces <= 0) && pruned.length()) {
            if ((spaces <= 0) && pruned.length()) {
                spaces = 1;
                spaces = 1;
            }
            }
            if (spaces > 0) {
            if ((spaces > 0) && (pruned.length() != 0)) {
                change += android::base::StringPrintf("%*s", (int)spaces, "");
                change += android::base::StringPrintf("%*s", (int)spaces, "");
            }
            }
            pruned = change + pruned;
            pruned = change + pruned;