Mercurial > emacs
comparison src/w32term.c @ 100400:81a626d61e0e
(w32_term_init): Don't initialize the image cache here; it will be
done in init_frame_faces.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 13 Dec 2008 05:40:29 +0000 |
parents | 3ff54631d8b3 |
children | dab9cf44bf3f |
comparison
equal
deleted
inserted
replaced
100399:8d6fe7463149 | 100400:81a626d61e0e |
---|---|
6202 dpyinfo->n_planes = GetDeviceCaps (hdc, PLANES); | 6202 dpyinfo->n_planes = GetDeviceCaps (hdc, PLANES); |
6203 dpyinfo->n_cbits = GetDeviceCaps (hdc, BITSPIXEL); | 6203 dpyinfo->n_cbits = GetDeviceCaps (hdc, BITSPIXEL); |
6204 dpyinfo->resx = GetDeviceCaps (hdc, LOGPIXELSX); | 6204 dpyinfo->resx = GetDeviceCaps (hdc, LOGPIXELSX); |
6205 dpyinfo->resy = GetDeviceCaps (hdc, LOGPIXELSY); | 6205 dpyinfo->resy = GetDeviceCaps (hdc, LOGPIXELSY); |
6206 dpyinfo->has_palette = GetDeviceCaps (hdc, RASTERCAPS) & RC_PALETTE; | 6206 dpyinfo->has_palette = GetDeviceCaps (hdc, RASTERCAPS) & RC_PALETTE; |
6207 dpyinfo->terminal->image_cache = make_image_cache (); | |
6208 ReleaseDC (GetDesktopWindow (), hdc); | 6207 ReleaseDC (GetDesktopWindow (), hdc); |
6209 | 6208 |
6210 /* initialise palette with white and black */ | 6209 /* initialise palette with white and black */ |
6211 { | 6210 { |
6212 XColor color; | 6211 XColor color; |