diff src/window.c @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 501cfd01ee6d
children 697ef44129c6
line wrap: on
line diff
--- a/src/window.c	Mon Aug 13 11:18:12 2007 +0200
+++ b/src/window.c	Mon Aug 13 11:19:21 2007 +0200
@@ -282,7 +282,7 @@
   p->glyph_cachels    = Dynarr_new (glyph_cachel);
   p->line_start_cache = Dynarr_new (line_start_cache);
   p->subwindow_instance_cache = make_lisp_hash_table (30,
-						      HASH_TABLE_KEY_WEAK,
+						      HASH_TABLE_KEY_VALUE_WEAK,
 						      HASH_TABLE_EQUAL);
   p->line_cache_last_updated = Qzero;
   INIT_DISP_VARIABLE (last_point_x, 0);
@@ -3519,7 +3519,7 @@
   p->glyph_cachels    = Dynarr_new (glyph_cachel);
   p->subwindow_instance_cache = 
     make_lisp_hash_table (30,
-			  HASH_TABLE_KEY_WEAK,
+			  HASH_TABLE_KEY_VALUE_WEAK,
 			  HASH_TABLE_EQUAL);
 
   /* Put new into window structure in place of window */
@@ -5369,7 +5369,7 @@
 	     it up as needed. */
 	  w->subwindow_instance_cache =
 	    make_lisp_hash_table (30,
-				  HASH_TABLE_KEY_WEAK,
+				  HASH_TABLE_KEY_VALUE_WEAK,
 				  HASH_TABLE_EQUAL);
 	  SET_LAST_MODIFIED (w, 1);
 	  SET_LAST_FACECHANGE (w);