summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-06-22 18:17:23 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-06-22 18:17:23 +0200
commit0eb09f84b54616675b0d098ed0b3392bbd46f6e2 (patch)
treefb52995d462a8f376830abeb0fbd3480c18fcc67
parent6635c7d617bd054060095efde6429f7216daa75c (diff)
downloadweechat-0eb09f84b54616675b0d098ed0b3392bbd46f6e2.zip
Display [F] for buffer_filter item only if filters are enabled and that at least a filter exists
-rw-r--r--src/gui/gui-bar-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c
index 413dfaf9a..a936a0e1c 100644
--- a/src/gui/gui-bar-item.c
+++ b/src/gui/gui-bar-item.c
@@ -531,7 +531,7 @@ gui_bar_item_default_buffer_filter (void *data, struct t_gui_bar_item *item,
if (!window)
window = gui_current_window;
- if (!gui_filters_enabled)
+ if (!gui_filters_enabled || !gui_filters)
return NULL;
snprintf (buf, sizeof (buf),