diff options
author | ZviRackover <zvirack@gmail.com> | 2018-08-15 22:02:33 +0300 |
---|---|---|
committer | ZviRackover <zvirack@gmail.com> | 2018-08-15 22:02:33 +0300 |
commit | 2bddc4ca54e31a14b7e9799beda134217ae867e7 (patch) | |
tree | 9c91c11bc3f937f4dfec918e0693c47827a0ff61 /src/nvim/getchar.c | |
parent | b5cfac089409faf17a290d4bfe1b669212e2984e (diff) | |
download | rneovim-2bddc4ca54e31a14b7e9799beda134217ae867e7.tar.gz rneovim-2bddc4ca54e31a14b7e9799beda134217ae867e7.tar.bz2 rneovim-2bddc4ca54e31a14b7e9799beda134217ae867e7.zip |
Remove occurences of mb_head_off
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; } |