summaryrefslogtreecommitdiff
path: root/libguile/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/options.c')
-rw-r--r--libguile/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/options.c b/libguile/options.c
index 4c53611a3..34e0bef99 100644
--- a/libguile/options.c
+++ b/libguile/options.c
@@ -130,7 +130,7 @@ get_documented_option_setting (const scm_t_option options[], unsigned int n)
for (i = 0; i != n; ++i)
{
- SCM ls = scm_cons (scm_str2string (options[i].doc), SCM_EOL);
+ SCM ls = scm_cons (scm_from_locale_string (options[i].doc), SCM_EOL);
switch (options[i].type)
{
case SCM_OPTION_BOOLEAN:
@@ -252,7 +252,7 @@ scm_init_opts (SCM (*func) (SCM), scm_t_option options[], unsigned int n)
for (i = 0; i != n; ++i)
{
- SCM name = scm_str2symbol (options[i].name);
+ SCM name = scm_from_locale_symbol (options[i].name);
options[i].name = (char *) SCM_UNPACK (name);
scm_permanent_object (name);
}