mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
refactor: replace char_u #18429
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1813,7 +1813,7 @@ char_u *get_foldtext(win_T *wp, linenr_T lnum, linenr_T lnume, foldinfo_T foldin
|
||||
p += len - 1;
|
||||
} else if (*p == TAB) {
|
||||
*p = ' ';
|
||||
} else if (ptr2cells(p) > 1) {
|
||||
} else if (ptr2cells((char *)p) > 1) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user