summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-04-14 23:24:19 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-04-14 23:24:19 +0000
commit529e204139f812934d59c6b510c1d68c212570e6 (patch)
tree05b680d23505a994c621e893de11f8cfe32bc99c /src/fe-text
parent0cb1752123111d11cc48a0b6cf15d11539599995 (diff)
downloadirssi-529e204139f812934d59c6b510c1d68c212570e6.zip
some resize problems fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1445 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/mainwindows.c8
1 files 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);