mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Bugfix for deciding which window to place new window item.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@902 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
70d49e5042
commit
2ea411093a
@ -254,7 +254,7 @@ void window_item_create(WI_ITEM_REC *item, int automatic)
|
||||
if (reuse_unused_windows &&
|
||||
rec->items == NULL && rec->level == 0 &&
|
||||
(window == NULL || rec == active_win ||
|
||||
window->waiting_channels == NULL)) {
|
||||
window->waiting_channels != NULL)) {
|
||||
/* no items in this window, we should probably use it.. */
|
||||
window = rec;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user