From 8f6395e88916c5f69c18147ef8eb6fe1e51efef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 2 Aug 2022 20:50:24 +0200 Subject: [PATCH] guile: fix function hdata_get_string --- ChangeLog.adoc | 1 + src/plugins/guile/weechat-guile-api.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 58fac9a04..de6127812 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -30,6 +30,7 @@ Bug fixes:: * irc: fix duplicated channels in autojoin option when autojoin_dynamic is enabled (issue #1795) * irc: fix display of TOPIC and QUIT messages with an empty trailing parameter (issue #1797) + * guile: fix function hdata_get_string * javascript: fix return of long value in functions infolist_time, hdata_long and hdata_time * php: fix function hdata_compare * relay: fix parsing of IRC messages received from clients (issue #1796) 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); }