forked from PsychoticNinja/irssi
crashfix when quitting
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3165 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0de9bcc3df
commit
8e29932db3
@ -301,11 +301,13 @@ void mainwindow_destroy(MAIN_WINDOW_REC *window)
|
|||||||
|
|
||||||
term_window_destroy(window->screen_win);
|
term_window_destroy(window->screen_win);
|
||||||
|
|
||||||
if (!quitting && mainwindows != NULL) {
|
if (mainwindows != NULL) {
|
||||||
gui_windows_remove_parent(window);
|
gui_windows_remove_parent(window);
|
||||||
mainwindows_add_space(window->first_line, window->last_line);
|
if (!quitting) {
|
||||||
|
mainwindows_add_space(window->first_line,
|
||||||
mainwindows_redraw();
|
window->last_line);
|
||||||
|
mainwindows_redraw();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
g_free(window);
|
g_free(window);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user