From ace371b2a36f93fb29a896ee98bfa4cf68177dba Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Sat, 14 Apr 2007 11:09:37 +0000 Subject: [PATCH] Revert r4352. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4444 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- NEWS | 1 - src/fe-text/gui-entry.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 201ad6c2..98687b16 100644 --- a/NEWS +++ b/NEWS @@ -36,7 +36,6 @@ v0.8.11 200x-xx-xx The Irssi team - Don't get confused by a join command with too many arguments, keys can't have spaces in them (Bug 437) - Don't crash on /QUIT with scripts causing and catching signals on UNLOAD - - Fix off-by-one error in gui_entry_draw_from - Fix %k and %K mappings in curses frontend - Fix bold on monochrome terminals in terminfo frontend - Fixed colors with TERM=xterm-{88,256}color in terminfo frontend diff --git a/src/fe-text/gui-entry.c b/src/fe-text/gui-entry.c index f11d7b15..46c39251 100644 --- a/src/fe-text/gui-entry.c +++ b/src/fe-text/gui-entry.c @@ -242,7 +242,7 @@ static void gui_entry_draw_from(GUI_ENTRY_REC *entry, int pos) } /* clear the rest of the input line */ - if (end_xpos == term_width-1) + if (end_xpos == term_width) term_clrtoeol(root_window); else { while (xpos < end_xpos) {