summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-24 13:57:54 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-24 13:57:54 +0000
commit319e852bb4c8972f6287af8c69b20beb4e9bb767 (patch)
treeaa8022cc2165ace1640bd0f966cf8691e54fb2b2 /src
parent8a5cda6167e55a7f4e5f7c93cf69a14906b25f33 (diff)
downloadirssi-319e852bb4c8972f6287af8c69b20beb4e9bb767.zip
window-top-statusbars weren't working properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1907 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/mainwindows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c
index ee1d7edd..32ceeeb9 100644
--- a/src/fe-text/mainwindows.c
+++ b/src/fe-text/mainwindows.c
@@ -42,13 +42,13 @@ static int old_screen_width, old_screen_height;
screen_window_create(0, \
(window)->first_line + (window)->statusbar_lines_top, \
(window)->width, \
- (window)->height + (window)->statusbar_lines_bottom)
+ (window)->height + (window)->statusbar_lines)
#define mainwindow_set_screen_size(window) \
screen_window_move((window)->screen_win, 0, \
(window)->first_line + (window)->statusbar_lines_top, \
(window)->width, \
- (window)->height - (window)->statusbar_lines_bottom);
+ (window)->height - (window)->statusbar_lines);
static MAIN_WINDOW_REC *find_window_with_room(void)