mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
Refactor: remove mb_ptr2len_len, mb_ptr2cells and mb_ptr2cells_len
Remove occurences of these macros.
This commit is contained in:
@@ -5653,7 +5653,7 @@ void ex_sign(exarg_T *eap)
|
||||
if (!vim_isprintc(utf_ptr2char(s))) {
|
||||
break;
|
||||
}
|
||||
cells += (*mb_ptr2cells)(s);
|
||||
cells += utf_ptr2cells(s);
|
||||
}
|
||||
// Currently must be one or two display cells
|
||||
if (s != p || cells < 1 || cells > 2) {
|
||||
|
Reference in New Issue
Block a user