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/window.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/window.c')
-rw-r--r-- | src/nvim/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 8239061a0c..fa963d790d 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -5130,7 +5130,7 @@ file_name_in_line ( * Go one char back to ":" before "//" even when ':' is not in 'isfname'. */ while (ptr > line) { - if (has_mbyte && (len = (size_t)((*mb_head_off)(line, ptr - 1))) > 0) + if (has_mbyte && (len = (size_t)(utf_head_off(line, ptr - 1))) > 0) ptr -= len + 1; else if (vim_isfilec(ptr[-1]) || ((options & FNAME_HYP) && path_is_url((char *)ptr - 1))) |