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:
+2
-2
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user