Windowing system fixes, doesn't crash anymore after window resizes.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@577 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-08-10 19:13:54 +00:00 committed by cras
commit a900cb580f
5 changed files with 14 additions and 18 deletions

View file

@ -781,7 +781,7 @@ static void sidebar_remove_items(MAIN_WINDOW_REC *window)
static void sig_mainwindow_created(MAIN_WINDOW_REC *window)
{
window->statusbar = statusbar_create(STATUSBAR_POS_MIDDLE, window->last_line+1);
window->statusbar = statusbar_create(STATUSBAR_POS_MIDDLE, window->first_line+window->lines);
sidebar_add_items(window);
}