summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2007-04-14 11:09:37 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-04-14 11:09:37 +0000
commitace371b2a36f93fb29a896ee98bfa4cf68177dba (patch)
tree5a1ef5645610c50a03716c9b268e4b00d54ebe2a
parentd701ef40243deec1062a96553bbf7fb5fd1c2147 (diff)
downloadirssi-ace371b2a36f93fb29a896ee98bfa4cf68177dba.zip
Revert r4352.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4444 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--NEWS1
-rw-r--r--src/fe-text/gui-entry.c2
2 files changed, 1 insertions, 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 <staff@irssi.org>
- 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) {