1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

/FOREACH WINDOW /WINDOW CLOSE could crash irssi.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2907 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-08-29 19:45:43 +00:00 committed by cras
parent fd6fe24317
commit 886c92e141

View File

@ -738,7 +738,8 @@ static void cmd_foreach_window(const char *data)
list = g_slist_remove(list, list->data);
}
active_win = old;
if (g_slist_find(windows, old) != NULL)
active_win = old;
}
void window_commands_init(void)