summaryrefslogtreecommitdiff
path: root/libguile/strorder.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/strorder.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/strorder.c')
-rw-r--r--libguile/strorder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/strorder.c b/libguile/strorder.c
index 5f49dcabd..ee2cb2260 100644
--- a/libguile/strorder.c
+++ b/libguile/strorder.c
@@ -124,7 +124,7 @@ scm_string_less_p (s1, s2)
}
{
SCM answer;
- answer = (s2len != len) ? SCM_BOOL_T : SCM_BOOL_F;
+ answer = SCM_BOOL(s2len != len);
return answer;
}
}
@@ -181,7 +181,7 @@ scm_string_ci_less_p (s1, s2)
if (c>0) return SCM_BOOL_F;
if (c<0) return SCM_BOOL_T;
}
- return (s2len != len) ? SCM_BOOL_T : SCM_BOOL_F;
+ return SCM_BOOL(s2len != len);
}
SCM_PROC1 (s_string_ci_leq_p, "string-ci<=?", scm_tc7_rpsubr, scm_string_ci_leq_p);