summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-08-20 14:19:18 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-08-20 14:19:18 +0000
commit9a06b3517160748f246c2caa2adfc76d345610a2 (patch)
tree73e25345c80a13830b4a3f7700c1d7413f43b735
parentff7eaa8329c09945887f1b228c0ebeb6ffde6afe (diff)
downloademacs-9a06b3517160748f246c2caa2adfc76d345610a2.tar.gz
(print_object): Fix off-by-one in last change.
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index a474fa31e81..ea92527d083 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1488,7 +1488,7 @@ print_object (obj, printcharfun, escapeflag)
QUIT;
/* See similar code in print_preprocess. */
- if (print_depth > PRINT_CIRCLE)
+ if (print_depth >= PRINT_CIRCLE)
error ("Apparently circular structure being printed");
/* Detect circularities and truncate them. */