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:
parent
38b026b62f
commit
4405092282
@ -159,8 +159,8 @@ void mainwindow_change_active(MAIN_WINDOW_REC *mainwin,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* no more non-sticky windows, remove main window */
|
|
||||||
window_set_active(other);
|
window_set_active(other);
|
||||||
|
if (mainwindows->next != NULL)
|
||||||
mainwindow_destroy(mainwin);
|
mainwindow_destroy(mainwin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user