From e869585c10ffa38b84a2b1bac762488fafc58ec8 Mon Sep 17 00:00:00 2001 From: Mikael Djurfeldt Date: Tue, 14 Mar 2000 17:24:48 +0000 Subject: [PATCH] * objprop.c (s_scm_set_object_property_x): Use scm_assq instead of scm_assoc. (Thanks to Dirk Herrmann.) --- libguile/objprop.c | 4 ++-- 1 file 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