diff options
| author | Jason Rumney | 2002-11-18 20:16:39 +0000 |
|---|---|---|
| committer | Jason Rumney | 2002-11-18 20:16:39 +0000 |
| commit | 0040b8760ab097cb0fd84dac84ecce59ddc112a2 (patch) | |
| tree | ce94958fde0bad7a34fe82ee35b37ab3ece791f9 | |
| parent | b4aebae399e5f865881c6724a54ff6b4e76bb3df (diff) | |
| download | emacs-0040b8760ab097cb0fd84dac84ecce59ddc112a2.tar.gz emacs-0040b8760ab097cb0fd84dac84ecce59ddc112a2.zip | |
(x_build_heuristic_mask): Filter palette info from color.
| -rw-r--r-- | src/w32fns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 7037493e3a1..ab2e5237c61 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -11061,7 +11061,8 @@ x_build_heuristic_mask (f, img, how) | |||
| 11061 | { | 11061 | { |
| 11062 | char color_name[30]; | 11062 | char color_name[30]; |
| 11063 | sprintf (color_name, "#%04x%04x%04x", rgb[0], rgb[1], rgb[2]); | 11063 | sprintf (color_name, "#%04x%04x%04x", rgb[0], rgb[1], rgb[2]); |
| 11064 | bg = x_alloc_image_color (f, img, build_string (color_name), 0); | 11064 | bg = x_alloc_image_color (f, img, build_string (color_name), 0) |
| 11065 | & 0xffffff; // Filter out palette info. | ||
| 11065 | use_img_background = 0; | 11066 | use_img_background = 0; |
| 11066 | } | 11067 | } |
| 11067 | } | 11068 | } |