aboutsummaryrefslogtreecommitdiff
path: root/src/guile_interface.scm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/guile_interface.scm.c')
-rw-r--r--src/guile_interface.scm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guile_interface.scm.c b/src/guile_interface.scm.c
index 7828389f..e54b81d5 100644
--- a/src/guile_interface.scm.c
+++ b/src/guile_interface.scm.c
@@ -222,7 +222,7 @@ SCM_DEFINE(vcomponent_set_type_x, "%vcomponent-set-type!", 2, 0, 0,
if (comp->type) free (comp->type);
- char* ntype = scm_to_utf8_stringn (type, NULL);
+ char* ntype = scm_to_utf8_stringn (scm_symbol_to_string(type), NULL);
comp->type = calloc(sizeof(*ntype), strlen(ntype) + 1);
strcpy(comp->type, ntype);