summaryrefslogtreecommitdiff
path: root/src/line_modification.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-05-02 13:02:10 +1000
committerMaxime Coste <mawww@kakoune.org>2020-05-02 13:02:10 +1000
commit2fca4e564304ee69b33711084ceeefae397619cd (patch)
treef44597c62ee4d29137b78a24a36650712e89608c /src/line_modification.cc
parentccecd5bd8e871b7aa89568609fd4ba7c50fd52ad (diff)
Fix traling whitespaces
Diffstat (limited to 'src/line_modification.cc')
-rw-r--r--src/line_modification.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/line_modification.cc b/src/line_modification.cc
index 01ad22bf..47e11e64 100644
--- a/src/line_modification.cc
+++ b/src/line_modification.cc
@@ -151,7 +151,7 @@ void LineRangeSet::add_range(LineRange range, FunctionRef<void (LineRange)> on_n
[](LineRange range, LineCount line) { return range.end < line; });
if (it == end() or it->begin > range.end)
on_new_range(range);
- else
+ else
{
auto pos = range.begin;
while (it != end() and it->begin <= range.end)