changeset 80744:b0f1f79e0a17

(print_object): Fix off-by-one in last change.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 20 Aug 2008 14:19:18 +0000
parents 92035fb329ef
children bcd1b64ac030
files src/print.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Wed Aug 20 14:18:53 2008 +0000
+++ b/src/print.c	Wed Aug 20 14:19:18 2008 +0000
@@ -1488,7 +1488,7 @@
   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.  */