diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-08-28 23:37:30 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-08-28 23:37:30 +0200 |
commit | a2403a0ed9afdfaea7abb5555dbdf555b56eff9a (patch) | |
tree | 74378ce589d267842f018955bbf9daf93bedac13 /src/nvim/path.c | |
parent | acdede50cebf7d247e55356be828ebaba43c0d3d (diff) | |
parent | d110c6d7907d6f27f32b1d2bd91ffee7ef6097f4 (diff) | |
download | rneovim-a2403a0ed9afdfaea7abb5555dbdf555b56eff9a.tar.gz rneovim-a2403a0ed9afdfaea7abb5555dbdf555b56eff9a.tar.bz2 rneovim-a2403a0ed9afdfaea7abb5555dbdf555b56eff9a.zip |
Merge #8863 'refactor: Remove mb_head_off() '
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r-- | src/nvim/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index cc4a5f62a7..eeb374cf44 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -1819,7 +1819,7 @@ void path_fix_case(char_u *name) int after_pathsep(const char *b, const char *p) { return p > b && vim_ispathsep(p[-1]) - && (!has_mbyte || (*mb_head_off)((char_u *)b, (char_u *)p - 1) == 0); + && utf_head_off((char_u *)b, (char_u *)p - 1) == 0; } /* |