summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-08-02 20:50:24 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-08-02 20:50:24 +0200
commit8f6395e88916c5f69c18147ef8eb6fe1e51efef7 (patch)
tree762e714938660c3ba7c47572976bcceacb72322e /src
parent53df45de48acf869014775f9c656f17e118447c9 (diff)
downloadweechat-8f6395e88916c5f69c18147ef8eb6fe1e51efef7.zip
guile: fix function hdata_get_string
Diffstat (limited to 'src')
-rw-r--r--src/plugins/guile/weechat-guile-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/guile/weechat-guile-api.c b/src/plugins/guile/weechat-guile-api.c
index e56ea76af..490d4f8ad 100644
--- a/src/plugins/guile/weechat-guile-api.c
+++ b/src/plugins/guile/weechat-guile-api.c
@@ -4954,8 +4954,8 @@ weechat_guile_api_hdata_get_string (SCM hdata, SCM property)
if (!scm_is_string (hdata) || !scm_is_string (property))
API_WRONG_ARGS(API_RETURN_EMPTY);
- result = weechat_hdata_get_var_type_string (API_STR2PTR(API_SCM_TO_STRING(hdata)),
- API_SCM_TO_STRING(property));
+ result = weechat_hdata_get_string (API_STR2PTR(API_SCM_TO_STRING(hdata)),
+ API_SCM_TO_STRING(property));
API_RETURN_STRING(result);
}