diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2006-09-17 12:26:04 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-09-17 12:26:04 +0000 |
commit | 8264b65939fcfca0020da485ee76d3a280a99625 (patch) | |
tree | 619cb3c6cd0c0e1d85dfeed8c89e357b80069661 | |
parent | 07be2f048d86dbd3aa16284d5844dbe4a74f307d (diff) | |
download | irssi-8264b65939fcfca0020da485ee76d3a280a99625.zip |
Fix off-by-one error.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4352 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-text/gui-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-entry.c b/src/fe-text/gui-entry.c index f63d8269..7dcec358 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) + if (end_xpos == term_width-1) term_clrtoeol(root_window); else { while (xpos < end_xpos) { |