From: Chong Yidong Date: Wed, 20 Aug 2008 14:19:18 +0000 (+0000) Subject: (print_object): Fix off-by-one in last change. X-Git-Tag: emacs-pretest-22.2.91~18 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9a06b3517160748f246c2caa2adfc76d345610a2;p=emacs.git (print_object): Fix off-by-one in last change. --- 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. */