mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
Remove all occurences of the mb_ptr2char macro
First step towards implemening issue #7401. The same can be done for all deprecated mb_ functions in follow-up patches.
This commit is contained in:
@@ -477,7 +477,7 @@ bool leftcol_changed(void)
|
||||
int gchar_cursor(void)
|
||||
{
|
||||
if (has_mbyte)
|
||||
return (*mb_ptr2char)(get_cursor_pos_ptr());
|
||||
return utf_ptr2char(get_cursor_pos_ptr());
|
||||
return (int)*get_cursor_pos_ptr();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user