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/mark.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/mark.c')
-rw-r--r-- | src/nvim/mark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c index 3861d9ceb8..5366fa4b7f 100644 --- a/src/nvim/mark.c +++ b/src/nvim/mark.c @@ -1468,7 +1468,7 @@ void mark_mb_adjustpos(buf_T *buf, pos_T *lp) if (*p == NUL || (int)STRLEN(p) < lp->col) { lp->col = 0; } else { - lp->col -= (*mb_head_off)(p, p + lp->col); + lp->col -= utf_head_off(p, p + lp->col); } // Reset "coladd" when the cursor would be on the right half of a // double-wide character. |