mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -90,7 +90,7 @@ static void ga_concat_shorten_esc(garray_T *gap, const char_u *str)
|
||||
const char_u *s = p;
|
||||
const int c = mb_ptr2char_adv(&s);
|
||||
const int clen = (int)(s - p);
|
||||
while (*s != NUL && c == utf_ptr2char(s)) {
|
||||
while (*s != NUL && c == utf_ptr2char((char *)s)) {
|
||||
same_len++;
|
||||
s += clen;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user