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

Small focus bugfix when closing a split window.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2220 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-07 23:26:46 +00:00 committed by cras
parent 1b8a5a866d
commit 54a933f29c

View File

@ -152,7 +152,7 @@ void mainwindow_change_active(MAIN_WINDOW_REC *mainwin,
for (tmp = windows; tmp != NULL; tmp = tmp->next) {
WINDOW_REC *rec = tmp->data;
if (rec != skip_window && WINDOW_MAIN(rec) == mainwin) {
if (rec != skip_window && WINDOW_MAIN(rec) != mainwin) {
window_set_active(rec);
break;
}