changeset 59630:e35417abe6a6

(sweep_weak_table): Advance prev pointer when we keep a pair.
author Kim F. Storm <storm@cua.dk>
date Wed, 19 Jan 2005 00:08:30 +0000
parents 4972d9082788
children 5f8090982771
files src/fns.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Wed Jan 19 00:08:10 2005 +0000
+++ b/src/fns.c	Wed Jan 19 00:08:30 2005 +0000
@@ -4836,6 +4836,10 @@
 
 		  h->count = make_number (XFASTINT (h->count) - 1);
 		}
+	      else
+		{
+		  prev = idx;
+		}
 	    }
 	  else
 	    {