changeset 67719:5e88f41fd520

(print_preprocess): Don't loose print_depth levels while iterating.
author Károly Lőrentey <lorentey@elte.hu>
date Wed, 21 Dec 2005 15:37:25 +0000
parents 66dff7fa71b9
children 477912b55071
files src/ChangeLog src/print.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Dec 21 12:35:05 2005 +0000
+++ b/src/ChangeLog	Wed Dec 21 15:37:25 2005 +0000
@@ -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.
--- a/src/print.c	Wed Dec 21 12:35:05 2005 +0000
+++ b/src/print.c	Wed Dec 21 15:37:25 2005 +0000
@@ -1345,7 +1345,8 @@
 	      {
 		/* 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.  */