Commit 2386b1f1 authored by Jason Rumney's avatar Jason Rumney
Browse files

(convert_mono_to_color_image): Swap fore and background.

parent e96e1531
2007-06-21 Jason Rumney <>
* image.c (convert_mono_to_color_image): Swap fore and background.
2007-06-20 Jason Rumney <>
* w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished.
......@@ -3120,8 +3120,8 @@ static void convert_mono_to_color_image (f, img, foreground, background)
release_frame_dc (f, hdc);
old_prev = SelectObject (old_img_dc, img->pixmap);
new_prev = SelectObject (new_img_dc, new_pixmap);
SetTextColor (new_img_dc, foreground);
SetBkColor (new_img_dc, background);
SetTextColor (new_img_dc, background);
SetBkColor (new_img_dc, foreground);
BitBlt (new_img_dc, 0, 0, img->width, img->height, old_img_dc,
0, 0, SRCCOPY);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment