1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-14 03:04:17 -04:00

Make sure we aren't using a destroyed theme

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3073 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-12-23 08:36:25 +00:00 committed by cras
parent ab91c843bd
commit d5bc95bc22

View File

@ -848,6 +848,8 @@ THEME_REC *theme_load(const char *setname)
if (oldtheme != NULL && theme != NULL) {
theme_destroy(oldtheme);
if (current_theme == oldtheme)
current_theme = theme;
window_themes_update();
}