summaryrefslogtreecommitdiff
path: root/libguile/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/print.c')
-rw-r--r--libguile/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/print.c b/libguile/print.c
index aab922b2e..d0079560f 100644
--- a/libguile/print.c
+++ b/libguile/print.c
@@ -957,7 +957,7 @@ SCM_DEFINE (scm_simple_format, "simple-format", 2, 0, 1,
char *start;
char *p;
- if (SCM_TRUE_P (destination)) {
+ if (SCM_EQ_P (destination, SCM_BOOL_T)) {
destination = scm_cur_outp;
} else if (SCM_FALSEP (destination)) {
fReturnString = 1;