mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 06:16:08 +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:
@@ -552,7 +552,7 @@ static char_u *nfa_get_match_text(nfa_state_T *start)
|
||||
p = start->out->out; /* skip first char, it goes into regstart */
|
||||
s = ret;
|
||||
while (p->c > 0) {
|
||||
s += utf_char2bytes(p->c, s);
|
||||
s += utf_char2bytes(p->c, (char *)s);
|
||||
p = p->out;
|
||||
}
|
||||
*s = NUL;
|
||||
|
Reference in New Issue
Block a user