From e113fe244042d797de7ace33df67bb92b6a2eb40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 19 Mar 2017 18:28:33 +0100 Subject: [PATCH] core: fix type of values for hashtables extra_vars and options in gui_bar_check_conditions --- src/gui/gui-bar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c index 7a995a6a0..0c7e136e0 100644 --- a/src/gui/gui-bar.c +++ b/src/gui/gui-bar.c @@ -419,7 +419,7 @@ gui_bar_check_conditions (struct t_gui_bar *bar, } extra_vars = hashtable_new (32, WEECHAT_HASHTABLE_STRING, - WEECHAT_HASHTABLE_POINTER, + WEECHAT_HASHTABLE_STRING, NULL, NULL); if (extra_vars) { @@ -432,7 +432,7 @@ gui_bar_check_conditions (struct t_gui_bar *bar, } options = hashtable_new (32, WEECHAT_HASHTABLE_STRING, - WEECHAT_HASHTABLE_POINTER, + WEECHAT_HASHTABLE_STRING, NULL, NULL); if (options) hashtable_set (options, "type", "condition");