summaryrefslogtreecommitdiff
path: root/libguile/objprop.c
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>2000-03-14 17:24:48 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>2000-03-14 17:24:48 +0000
commite869585c10ffa38b84a2b1bac762488fafc58ec8 (patch)
tree7064452d77ad8ef91b211b5c037747cefd211158 /libguile/objprop.c
parent7236512ecf828ae71bfe0fe472addddc087c245e (diff)
* objprop.c (s_scm_set_object_property_x): Use scm_assq instead of
scm_assoc. (Thanks to Dirk Herrmann.)
Diffstat (limited to 'libguile/objprop.c')
-rw-r--r--libguile/objprop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/objprop.c b/libguile/objprop.c
index ac816845c..1e1f68378 100644
--- a/libguile/objprop.c
+++ b/libguile/objprop.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996, 2000 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -102,7 +102,7 @@ SCM_DEFINE (scm_set_object_property_x, "set-object-property!", 3, 0, 0,
SCM assoc;
h = scm_hashq_create_handle_x (scm_object_whash, obj, SCM_EOL);
SCM_DEFER_INTS;
- assoc = scm_assoc (key, SCM_CDR (h));
+ assoc = scm_assq (key, SCM_CDR (h));
if (SCM_NIMP (assoc))
SCM_SETCDR (assoc, val);
else