summaryrefslogtreecommitdiff
path: root/src/plugins/buflist/buflist-bar-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/buflist/buflist-bar-item.c')
-rw-r--r--src/plugins/buflist/buflist-bar-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/buflist/buflist-bar-item.c b/src/plugins/buflist/buflist-bar-item.c
index fc4a6f8ff..52bf0a243 100644
--- a/src/plugins/buflist/buflist-bar-item.c
+++ b/src/plugins/buflist/buflist-bar-item.c
@@ -292,7 +292,6 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
/* make C compiler happy */
(void) data;
- (void) window;
(void) buffer;
(void) extra_info;
@@ -308,6 +307,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
item_index = (int)((unsigned long)pointer);
weechat_hashtable_set (buflist_hashtable_pointers, "bar_item", item);
+ weechat_hashtable_set (buflist_hashtable_pointers, "window", window);
ptr_format = buflist_config_format_buffer_eval;
ptr_format_current = buflist_config_format_buffer_current_eval;