mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 10:48:18 +00:00
Refactor: Remove occurences of mb_char2bytes
This commit is contained in:
@@ -564,7 +564,7 @@ static char_u *nfa_get_match_text(nfa_state_T *start)
|
||||
s = ret;
|
||||
while (p->c > 0) {
|
||||
if (has_mbyte)
|
||||
s += (*mb_char2bytes)(p->c, s);
|
||||
s += utf_char2bytes(p->c, s);
|
||||
else
|
||||
*s++ = p->c;
|
||||
p = p->out;
|
||||
|
Reference in New Issue
Block a user