]> git.eshelyaron.com Git - emacs.git/commitdiff
(print_object): Fix off-by-one in last change.
authorAndreas Schwab <schwab@suse.de>
Sat, 26 Jul 2008 06:49:19 +0000 (06:49 +0000)
committerAndreas Schwab <schwab@suse.de>
Sat, 26 Jul 2008 06:49:19 +0000 (06:49 +0000)
src/ChangeLog
src/print.c

index 3e592022db6313665a7a3fc42abd201e32967662..517984d25ef6b19193499ef95790612cea40f504 100644 (file)
@@ -1,3 +1,7 @@
+2008-07-26  Andreas Schwab  <schwab@suse.de>
+
+       * print.c (print_object): Fix off-by-one in last change.
+
 2008-07-25  Juanma Barranquero  <lekktu@gmail.com>
 
        * term.c (syms_of_term): Don't initialize default_orig_pair,
index dc4c40aabab1cfdb6f3172078ae37d43bcd1f66e..b9d2e12be154fa8ccceb1556298c441b5064d5d8 100644 (file)
@@ -1561,7 +1561,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.  */