(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 a474fa3..ea92527 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.  */