1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04: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:
Timo Sirainen 2000-11-30 17:00:51 +00:00 committed by cras
parent 70d49e5042
commit 2ea411093a

View File

@ -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;
}