summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-03-19 18:28:33 +0100
committerSébastien Helleu <flashcode@flashtux.org>2017-03-25 14:19:48 +0100
commite113fe244042d797de7ace33df67bb92b6a2eb40 (patch)
tree6d293c3a13ff4c8b016b5782a98bf8b8144d177c
parent6b8c5381d4b8ed9929169dcfc506fec3e2a1c54f (diff)
downloadweechat-e113fe244042d797de7ace33df67bb92b6a2eb40.zip
core: fix type of values for hashtables extra_vars and options in gui_bar_check_conditions
-rw-r--r--src/gui/gui-bar.c4
1 files 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");