diff options
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index b57e1f6558..8c6c3dfd7e 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -2133,7 +2133,7 @@ static int vgetorpeek(int advance) /* Correct when the cursor is on the right halve * of a double-wide character. */ ptr = get_cursor_line_ptr(); - col -= (*mb_head_off)(ptr, ptr + col); + col -= utf_head_off(ptr, ptr + col); if ((*mb_ptr2cells)(ptr + col) > 1) --curwin->w_wcol; } |