aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2008-07-26 06:49:19 +0000
committerAndreas Schwab2008-07-26 06:49:19 +0000
commit51dc79f87e7587f48acdd8d16ec41f2c6373edfb (patch)
tree9aa4faad53a60c6e173ae92be2bf0ef7ad67bc2f
parentf64ebdc2f5621f8cca3c49735c396b5daafa3a87 (diff)
downloademacs-51dc79f87e7587f48acdd8d16ec41f2c6373edfb.tar.gz
emacs-51dc79f87e7587f48acdd8d16ec41f2c6373edfb.zip
(print_object): Fix off-by-one in last change.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/print.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3e592022db6..517984d25ef 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12008-07-26 Andreas Schwab <schwab@suse.de>
2
3 * print.c (print_object): Fix off-by-one in last change.
4
12008-07-25 Juanma Barranquero <lekktu@gmail.com> 52008-07-25 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * term.c (syms_of_term): Don't initialize default_orig_pair, 7 * term.c (syms_of_term): Don't initialize default_orig_pair,
diff --git a/src/print.c b/src/print.c
index dc4c40aabab..b9d2e12be15 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1561,7 +1561,7 @@ print_object (obj, printcharfun, escapeflag)
1561 QUIT; 1561 QUIT;
1562 1562
1563 /* See similar code in print_preprocess. */ 1563 /* See similar code in print_preprocess. */
1564 if (print_depth > PRINT_CIRCLE) 1564 if (print_depth >= PRINT_CIRCLE)
1565 error ("Apparently circular structure being printed"); 1565 error ("Apparently circular structure being printed");
1566 1566
1567 /* Detect circularities and truncate them. */ 1567 /* Detect circularities and truncate them. */