summaryrefslogtreecommitdiff
path: root/src/core/wee-hdata.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-27 21:45:49 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-28 15:14:24 +0100
commitfbeab26a3510680a5ad1753bf554b70b9a78a336 (patch)
tree9930db9909e86ae01c20ab06aba7b803018a3652 /src/core/wee-hdata.c
parentc07cf691adb4740759e9fd128a2f6702c912d70f (diff)
downloadweechat-fbeab26a3510680a5ad1753bf554b70b9a78a336.zip
core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872)
Diffstat (limited to 'src/core/wee-hdata.c')
-rw-r--r--src/core/wee-hdata.c16
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;