mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
Remove some occrrences of enc_utf8 and has_mbyte
Removing uses and related dead code in the locallity of changes of the two parent commits.
This commit is contained in:
@@ -476,10 +476,7 @@ bool leftcol_changed(void)
|
||||
|
||||
int gchar_cursor(void)
|
||||
{
|
||||
if (has_mbyte) {
|
||||
return utf_ptr2char(get_cursor_pos_ptr());
|
||||
}
|
||||
return (int)(*get_cursor_pos_ptr());
|
||||
return utf_ptr2char(get_cursor_pos_ptr());
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user