summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/highlighters.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/highlighters.cc b/src/highlighters.cc
index 11c4558b..8e1c35f4 100644
--- a/src/highlighters.cc
+++ b/src/highlighters.cc
@@ -1722,8 +1722,7 @@ struct RegionMatches
if (beg_pos != end_it->end_coord())
beg_pos = end_it->end_coord();
- else
- ++end_it;
+ ++end_it;
}
}
};