1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

core: fix type of values for hashtables extra_vars and options in gui_bar_check_conditions

This commit is contained in:
Sébastien Helleu
2017-03-19 18:28:33 +01:00
parent 6b8c5381d4
commit e113fe2440
+2 -2
View File
@@ -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");