From 529e204139f812934d59c6b510c1d68c212570e6 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 14 Apr 2001 23:24:19 +0000 Subject: [PATCH] some resize problems fixed git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1445 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/mainwindows.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c index 751d9d9e..21093a23 100644 --- a/src/fe-text/mainwindows.c +++ b/src/fe-text/mainwindows.c @@ -455,7 +455,7 @@ int mainwindows_reserve_lines(int count, int up) } if (window != NULL) - mainwindow_resize(window, -count, FALSE); + mainwindow_resize(window, 0, -count); return ret; } @@ -463,8 +463,8 @@ int mainwindows_reserve_lines(int count, int up) static void mainwindows_resize_two(MAIN_WINDOW_REC *grow_win, MAIN_WINDOW_REC *shrink_win, int count) { - mainwindow_resize(grow_win, count, FALSE); - mainwindow_resize(shrink_win, -count, FALSE); + mainwindow_resize(grow_win, 0, count); + mainwindow_resize(shrink_win, 0, -count); gui_window_redraw(grow_win->active); gui_window_redraw(shrink_win->active); statusbar_redraw(grow_win->statusbar); @@ -607,7 +607,7 @@ static void cmd_window_balance(void) } last_line = rec->last_line + rec->statusbar_lines; - mainwindow_resize(rec, rec->height-old_size, FALSE); + mainwindow_resize(rec, 0, rec->height-old_size); } g_slist_free(sorted);