]> code.delx.au - gnu-emacs/commitdiff
(print_object): Fix off-by-one in last change.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 20 Aug 2008 14:19:18 +0000 (14:19 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 20 Aug 2008 14:19:18 +0000 (14:19 +0000)
src/print.c

index a474fa31e818b1ea0c4a00a217309e84a3239b03..ea92527d083428961465cfaa106515b4ffe9331f 100644 (file)
@@ -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.  */