diff options
Diffstat (limited to 'src/core/wee-hdata.c')
-rw-r--r-- | src/core/wee-hdata.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/wee-hdata.c b/src/core/wee-hdata.c index 3c0a804d0..502f30c32 100644 --- a/src/core/wee-hdata.c +++ b/src/core/wee-hdata.c @@ -1207,21 +1207,21 @@ hdata_get_string (struct t_hdata *hdata, const char *property) if (!hdata || !property) return NULL; - if (string_strcmp (property, "var_keys") == 0) + if (strcmp (property, "var_keys") == 0) return hashtable_get_string (hdata->hash_var, "keys"); - else if (string_strcmp (property, "var_values") == 0) + else if (strcmp (property, "var_values") == 0) return hashtable_get_string (hdata->hash_var, "values"); - else if (string_strcmp (property, "var_keys_values") == 0) + else if (strcmp (property, "var_keys_values") == 0) return hashtable_get_string (hdata->hash_var, "keys_values"); - else if (string_strcmp (property, "var_prev") == 0) + else if (strcmp (property, "var_prev") == 0) return hdata->var_prev; - else if (string_strcmp (property, "var_next") == 0) + else if (strcmp (property, "var_next") == 0) return hdata->var_next; - else if (string_strcmp (property, "list_keys") == 0) + else if (strcmp (property, "list_keys") == 0) return hashtable_get_string (hdata->hash_list, "keys"); - else if (string_strcmp (property, "list_values") == 0) + else if (strcmp (property, "list_values") == 0) return hashtable_get_string (hdata->hash_list, "values"); - else if (string_strcmp (property, "list_keys_values") == 0) + else if (strcmp (property, "list_keys_values") == 0) return hashtable_get_string (hdata->hash_list, "keys_values"); return NULL; |