From aa0b0cd9bcc6ace7a4673064db8f3e44c278c2e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A1roly=20L=C5=91rentey?= Date: Wed, 21 Dec 2005 15:37:25 +0000 Subject: [PATCH] (print_preprocess): Don't loose print_depth levels while iterating. --- src/ChangeLog | 5 +++++ src/print.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * print.c (print_preprocess): Don't loose print_depth levels while + iterating. + 2005-12-21 YAMAMOTO Mitsuharu * 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. */ -- 2.39.5