summaryrefslogtreecommitdiff
path: root/src/editor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.cc')
-rw-r--r--src/editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.cc b/src/editor.cc
index 9017e90f..48b3ac1e 100644
--- a/src/editor.cc
+++ b/src/editor.cc
@@ -486,7 +486,7 @@ IncrementalInserter::~IncrementalInserter()
{
if (m_mode == InsertMode::Append and sel.last().column() > 0)
sel.last() = utf8::previous(sel.last());
- sel.avoid_eol();
+ sel.avoid_eol();
}
m_editor.on_incremental_insertion_end();