mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
Refactor: remove mb_ptr2len_len, mb_ptr2cells and mb_ptr2cells_len
Remove occurences of these macros.
This commit is contained in:
@@ -399,7 +399,7 @@ void pum_redraw(void)
|
||||
|
||||
if (size > pum_width) {
|
||||
do {
|
||||
size -= has_mbyte ? (*mb_ptr2cells)(rt) : 1;
|
||||
size -= has_mbyte ? utf_ptr2cells(rt) : 1;
|
||||
MB_PTR_ADV(rt);
|
||||
} while (size > pum_width);
|
||||
|
||||
|
Reference in New Issue
Block a user