# HG changeset patch # User Chong Yidong # Date 1229146829 0 # Node ID 81a626d61e0e5e794d5fbf7759f967937b13e138 # Parent 8d6fe7463149844e5025a5d70e28fb0a470eb326 (w32_term_init): Don't initialize the image cache here; it will be done in init_frame_faces. diff -r 8d6fe7463149 -r 81a626d61e0e src/w32term.c --- a/src/w32term.c Sat Dec 13 05:39:41 2008 +0000 +++ b/src/w32term.c Sat Dec 13 05:40:29 2008 +0000 @@ -6204,7 +6204,6 @@ dpyinfo->resx = GetDeviceCaps (hdc, LOGPIXELSX); dpyinfo->resy = GetDeviceCaps (hdc, LOGPIXELSY); dpyinfo->has_palette = GetDeviceCaps (hdc, RASTERCAPS) & RC_PALETTE; - dpyinfo->terminal->image_cache = make_image_cache (); ReleaseDC (GetDesktopWindow (), hdc); /* initialise palette with white and black */