Refactor: Remove occurences of mb_char2bytes

This commit is contained in:
ZviRackover
2018-09-02 00:58:30 +03:00
parent 50eadfe2e9
commit cbdbc4f63d
17 changed files with 54 additions and 55 deletions

View File

@@ -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;