diff options
Diffstat (limited to 'libguile/boolean.c')
-rw-r--r-- | libguile/boolean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/boolean.c b/libguile/boolean.c index a2353459e..39774dfaf 100644 --- a/libguile/boolean.c +++ b/libguile/boolean.c @@ -67,7 +67,7 @@ SCM_DEFINE (scm_boolean_p, "boolean?", 1, 0, 0, "Return #t iff OBJ is either #t or #f.\n") #define FUNC_NAME s_scm_boolean_p { - return SCM_BOOL(SCM_BOOL_F == obj || SCM_BOOL_T == obj); + return SCM_BOOL (SCM_BOOLP (obj)); } #undef FUNC_NAME |