* Ooops: This patch belongs to the previous ChangeLog entry...
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Tue, 8 May 2001 10:30:32 +0000 (10:30 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Tue, 8 May 2001 10:30:32 +0000 (10:30 +0000)
libguile/hooks.c

index 88fa69d..96a9657 100644 (file)
@@ -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