summaryrefslogtreecommitdiff
path: root/libguile/hooks.c
diff options
context:
space:
mode:
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-05-08 10:30:32 +0000
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-05-08 10:30:32 +0000
commit8ff45739c59e1150b09d251792b6c74c522439fe (patch)
tree9ed7247467f0f9df6043a5bde2fef81f91163baa /libguile/hooks.c
parent56e55ac7cfcfefc033ac6da130bafe745e9e109f (diff)
* Ooops: This patch belongs to the previous ChangeLog entry...
Diffstat (limited to 'libguile/hooks.c')
-rw-r--r--libguile/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/hooks.c b/libguile/hooks.c
index 88fa69d75..96a9657b3 100644
--- a/libguile/hooks.c
+++ b/libguile/hooks.c
@@ -247,7 +247,7 @@ SCM_DEFINE (scm_add_hook_x, "add-hook!", 2, 1, 0,
SCM arity, rest;
int n_args;
SCM_VALIDATE_HOOK (1,hook);
- SCM_ASSERT (SCM_NFALSEP (arity = scm_i_procedure_arity (proc)),
+ SCM_ASSERT (!SCM_FALSEP (arity = scm_i_procedure_arity (proc)),
proc, SCM_ARG2, FUNC_NAME);
n_args = SCM_HOOK_ARITY (hook);
if (SCM_INUM (SCM_CAR (arity)) > n_args