mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-26 21:22:03 +03:00
direct commit: utf8 fixup
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
parent
cca5fac0e9
commit
9b5de3c96b
@ -1872,7 +1872,7 @@ edit_get_prev_utf (WEdit * edit, long byte_index, int *char_width)
|
||||
if (str != buf)
|
||||
str = g_utf8_find_prev_char (buf, str);
|
||||
|
||||
if (res < 0 || str == NULL)
|
||||
if (str == NULL)
|
||||
{
|
||||
*char_width = 0;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user