mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Crashfix when sometimes closing a split window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3123 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
2b00fd58b7
commit
ae5b5f38bd
@ -154,11 +154,8 @@ void mainwindow_change_active(MAIN_WINDOW_REC *mainwin,
|
||||
WINDOW_REC *rec = tmp->data;
|
||||
|
||||
if (rec != skip_window) {
|
||||
if (WINDOW_MAIN(rec) == mainwin) {
|
||||
window_set_active(rec);
|
||||
return;
|
||||
}
|
||||
other = rec;
|
||||
other = rec;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user