(print_object): Fix off-by-one in last change.

This commit is contained in:
Andreas Schwab 2008-07-26 06:49:19 +00:00
parent f64ebdc2f5
commit 51dc79f87e
2 changed files with 5 additions and 1 deletions

View 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,

View 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. */