summaryrefslogtreecommitdiff
path: root/libguile/boolean.c
diff options
context:
space:
mode:
authorGreg J. Badros <gjb@cs.washington.edu>1999-12-12 19:24:29 +0000
committerGreg J. Badros <gjb@cs.washington.edu>1999-12-12 19:24:29 +0000
commit156dcb091b3fe1c1e60e304b86fd11e7e0a00772 (patch)
tree74abce0544cdbd1176f19bfd05ef3570a1e49a31 /libguile/boolean.c
parenta9967b3dbf03af3e508a5a144056ba57d7bf1be0 (diff)
downloadguile-156dcb091b3fe1c1e60e304b86fd11e7e0a00772.tar.gz
* *.c, srcprop.h: Use SCM_BOOL(f) instead of (f? SCM_BOOL_T:
SCM_BOOL_F) and use SCM_NEGATE_BOOL(f) instead of (f? SCM_BOOL_F: SCM_BOOL_T).
Diffstat (limited to 'libguile/boolean.c')
-rw-r--r--libguile/boolean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/boolean.c b/libguile/boolean.c
index 1721d94f0..f6cc5b20c 100644
--- a/libguile/boolean.c
+++ b/libguile/boolean.c
@@ -57,7 +57,7 @@ GUILE_PROC(scm_not, "not", 1, 0, 0,
"")
#define FUNC_NAME s_scm_not
{
- return SCM_FALSEP(x) ? SCM_BOOL_T : SCM_BOOL_F;
+ return SCM_BOOL(SCM_FALSEP(x));
}
#undef FUNC_NAME