mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -05:00
less: Stop adding extra blank lines
Each time we wrapped a line, we were appending an extra blank span which wasn't needed. This was leading to an extra blank line after every single line.
This commit is contained in:
parent
eef07a411b
commit
104be6c8ac
1 changed files with 0 additions and 1 deletions
|
@ -62,7 +62,6 @@ static Vector<StringView> wrap_line(DeprecatedString const& string, size_t width
|
|||
spans.append(string.substring_view(span_start, bit_length));
|
||||
span_start += bit_length;
|
||||
}
|
||||
spans.append(string.substring_view(span_start));
|
||||
|
||||
return spans;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue