1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

potential crashfix

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3173 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-11-17 18:13:17 +00:00 committed by cras
parent 38b026b62f
commit 4405092282

View File

@ -159,9 +159,9 @@ void mainwindow_change_active(MAIN_WINDOW_REC *mainwin,
}
}
/* no more non-sticky windows, remove main window */
window_set_active(other);
mainwindow_destroy(mainwin);
if (mainwindows->next != NULL)
mainwindow_destroy(mainwin);
}
void mainwindows_recreate(void)