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:
ZviRackover
2018-06-30 16:21:37 +03:00
parent cd3b2e4b6b
commit 071aab5148
8 changed files with 121 additions and 260 deletions

View File

@@ -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());
}
/*