mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix off-by-one error.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4352 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
07be2f048d
commit
8264b65939
@ -242,7 +242,7 @@ static void gui_entry_draw_from(GUI_ENTRY_REC *entry, int pos)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* clear the rest of the input line */
|
/* clear the rest of the input line */
|
||||||
if (end_xpos == term_width)
|
if (end_xpos == term_width-1)
|
||||||
term_clrtoeol(root_window);
|
term_clrtoeol(root_window);
|
||||||
else {
|
else {
|
||||||
while (xpos < end_xpos) {
|
while (xpos < end_xpos) {
|
||||||
|
Loading…
Reference in New Issue
Block a user