diff options
Diffstat (limited to 'src/guile_interface.scm.c')
-rw-r--r-- | src/guile_interface.scm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guile_interface.scm.c b/src/guile_interface.scm.c index a9485b38..9356533d 100644 --- a/src/guile_interface.scm.c +++ b/src/guile_interface.scm.c @@ -89,14 +89,14 @@ SCM_DEFINE (vcomponent_set_attr_x, "%vcomponent-set-attribute!", 3, 0, 0, * Otherwise we know that it's NULL and safe to write a new * SCM value there. */ - if (c->cur->value->key.scm != NULL) { - scm_gc_unprotect_object(c->cur->value->key.scm); + if (c->cval->key.scm != NULL) { + scm_gc_unprotect_object(c->cval->key.scm); } } free(key); - strbuf* target = &c->cur->value->key; + strbuf* target = &c->cval->key; target->scm = new_value; scm_gc_protect_object(target->scm); |