diff src/print.c @ 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 5c55209169fc
children 3bd95f4f2941 7beb78bc1f8e
line wrap: on
line diff
--- 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.  */