diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-09-22 17:26:39 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-09-22 17:26:39 +0200 |
commit | f238e5dd422bc70a4283446aff787683f8824250 (patch) | |
tree | 48fd7f088e0a3b4ba685832d6d5f2391af581809 /src/gui/gui-bar-item.c | |
parent | e5bc75bcd4182b8ebe3c3f1b2d7724eedb56a11c (diff) | |
download | weechat-f238e5dd422bc70a4283446aff787683f8824250.zip |
core: fix display of paste multi-line prompt with a root input bar (bug #34305)
Diffstat (limited to 'src/gui/gui-bar-item.c')
-rw-r--r-- | src/gui/gui-bar-item.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index a49eefd73..57b64c531 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -594,10 +594,7 @@ gui_bar_item_default_input_paste (void *data, struct t_gui_bar_item *item, (void) data; (void) item; - if (!window) - return NULL; - - if (window != gui_current_window) + if (window && (window != gui_current_window)) return NULL; if (!gui_key_paste_pending) |