From 9a06b3517160748f246c2caa2adfc76d345610a2 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 20 Aug 2008 14:19:18 +0000 Subject: [PATCH] (print_object): Fix off-by-one in last change. --- src/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.11.4.GIT