Mercurial > emacs
comparison src/w32term.c @ 47981:74b52651467d
(w32_term_init): Pass XColor to w32_define_color, not COLORREF.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 23 Oct 2002 16:53:48 +0000 |
parents | be0335657440 |
children | 3762c0399817 |
comparison
equal
deleted
inserted
replaced
47980:5492d1831d2a | 47981:74b52651467d |
---|---|
11122 dpyinfo->width_in = dpyinfo->width / dpyinfo->resy; | 11122 dpyinfo->width_in = dpyinfo->width / dpyinfo->resy; |
11123 ReleaseDC (GetDesktopWindow (), hdc); | 11123 ReleaseDC (GetDesktopWindow (), hdc); |
11124 | 11124 |
11125 /* initialise palette with white and black */ | 11125 /* initialise palette with white and black */ |
11126 { | 11126 { |
11127 COLORREF color; | 11127 XColor color; |
11128 w32_defined_color (0, "white", &color, 1); | 11128 w32_defined_color (0, "white", &color, 1); |
11129 w32_defined_color (0, "black", &color, 1); | 11129 w32_defined_color (0, "black", &color, 1); |
11130 } | 11130 } |
11131 | 11131 |
11132 /* Create Row Bitmaps and store them for later use. */ | 11132 /* Create Row Bitmaps and store them for later use. */ |