summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKároly Lőrentey <lorentey@elte.hu>2005-12-21 15:37:25 +0000
committerKároly Lőrentey <lorentey@elte.hu>2005-12-21 15:37:25 +0000
commitaa0b0cd9bcc6ace7a4673064db8f3e44c278c2e9 (patch)
tree05cf656be22da35285304ed83d970aace744a893
parent4e8b322fc8dd17025d4ebf1ecb3479a6c00f1863 (diff)
downloademacs-aa0b0cd9bcc6ace7a4673064db8f3e44c278c2e9.tar.gz
emacs-aa0b0cd9bcc6ace7a4673064db8f3e44c278c2e9.tar.bz2
emacs-aa0b0cd9bcc6ace7a4673064db8f3e44c278c2e9.zip
(print_preprocess): Don't loose print_depth levels while iterating.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/print.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e2a9a188504..c82e24b8754 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-21 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu>
+
+ * print.c (print_preprocess): Don't loose print_depth levels while
+ iterating.
+
2005-12-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macmenu.c (Qmac_apple_event): Add extern.
diff --git a/src/print.c b/src/print.c
index 20c359f9b69..83a80e9b3b4 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1345,7 +1345,8 @@ print_preprocess (obj)
{
/* OBJ appears more than once. Let's remember that. */
PRINT_NUMBER_STATUS (Vprint_number_table, i) = Qt;
- return;
+ print_depth--;
+ return;
}
/* OBJ is not yet recorded. Let's add to the table. */