diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-30 17:00:51 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-30 17:00:51 +0000 |
commit | 2ea411093ad0e6808cac86caf9dffd6f36d36c0f (patch) | |
tree | 9f40bd950cc7ac8d28b824612cfb5f7aad487a5b /src | |
parent | 70d49e5042c1f051a6bee5d09d592ef08542e58f (diff) | |
download | irssi-2ea411093ad0e6808cac86caf9dffd6f36d36c0f.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/window-items.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/window-items.c b/src/fe-common/core/window-items.c index 8e36931d..086ee884 100644 --- a/src/fe-common/core/window-items.c +++ b/src/fe-common/core/window-items.c @@ -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; } |