mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
refactor(multibyte): eliminate mb_ptr2len alias for utfc_ptr2len
This commit is contained in:
@@ -870,7 +870,7 @@ static int sign_define_init_text(sign_T *sp, char_u *text)
|
||||
}
|
||||
// Count cells and check for non-printable chars
|
||||
cells = 0;
|
||||
for (s = text; s < endp; s += (*mb_ptr2len)(s)) {
|
||||
for (s = text; s < endp; s += utfc_ptr2len(s)) {
|
||||
if (!vim_isprintc(utf_ptr2char(s))) {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user