summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-15 14:30:59 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-15 14:30:59 +0000
commit92e5447ca7d2028ce7cf4438cfaf5d52cc8391d4 (patch)
tree5c65abdf1d676e75b6f9253eff78223775bdcd31 /src/fe-text
parent57071409388091f83b03ccdb8f7bd8f613addc7b (diff)
downloadirssi-92e5447ca7d2028ce7cf4438cfaf5d52cc8391d4.zip
Small bugfix with resizing window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@466 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/gui-windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c
index cdce5bd1..5267796d 100644
--- a/src/fe-text/gui-windows.c
+++ b/src/fe-text/gui-windows.c
@@ -789,7 +789,7 @@ void gui_window_resize(WINDOW_REC *window, int ychange, int xchange)
if (gui->empty_linecount >= 0)
ychange = 0;
else {
- ychange -= gui->empty_linecount;
+ ychange = gui->empty_linecount;
gui->empty_linecount = 0;
}
}