summaryrefslogtreecommitdiff
blob: 56bdb1fe60068e2b83b421599108d39c095dda5f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- openMotif-2.2.3/lib/Xm/Hash.c
+++ openMotif-2.2.3/lib/Xm/Hash.c
@@ -198,6 +198,8 @@
 	} else {
 	  table -> buckets[index] = current;
 	}
+      } else {
+	last = current;
       }
       current = next;
     }