aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index ee3c3f9f11..1fd03257ec 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -7831,6 +7831,7 @@ static void get_op_vcol(
// prevent from moving onto a trail byte
if (has_mbyte) {
+ check_pos(curwin->w_buffer, &oap->end);
mb_adjustpos(curwin->w_buffer, &oap->end);
}