mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
Refactor: remove mb_ptr2len_len, mb_ptr2cells and mb_ptr2cells_len
Remove occurences of these macros.
This commit is contained in:
@@ -898,7 +898,7 @@ char_u *replace_termcodes(const char_u *from, const size_t from_len,
|
||||
}
|
||||
|
||||
// skip multibyte char correctly
|
||||
for (i = (*mb_ptr2len_len)(src, (int) (end - src) + 1); i > 0; i--) {
|
||||
for (i = utfc_ptr2len_len(src, (int) (end - src) + 1); i > 0; i--) {
|
||||
// If the character is K_SPECIAL, replace it with K_SPECIAL
|
||||
// KS_SPECIAL KE_FILLER.
|
||||
// If compiled with the GUI replace CSI with K_CSI.
|
||||
|
Reference in New Issue
Block a user