mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Update gui-entry.c
This commit is contained in:
parent
95f131da2d
commit
33bfd88d9e
1 changed files with 1 additions and 1 deletions
|
|
@ -835,7 +835,7 @@ void gui_entry_erase(GUI_ENTRY_REC *entry, int size, CUTBUFFER_UPDATE_OP update_
|
|||
}
|
||||
|
||||
if (entry->utf8)
|
||||
while (entry->pos-size-w > 0 &&
|
||||
while (entry->pos > size-w &&
|
||||
i_wcwidth(entry->text[entry->pos-size-w]) == 0) w++;
|
||||
|
||||
memmove(entry->text + entry->pos - size, entry->text + entry->pos,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue