Mercurial > emacs
diff src/image.c @ 78036:3766144496c2
(convert_mono_to_color_image): Swap fore and background.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 21 Jun 2007 22:01:27 +0000 |
parents | b0be055b1b7e |
children | 922696f363b0 |
line wrap: on
line diff
--- a/src/image.c Thu Jun 21 04:07:24 2007 +0000 +++ b/src/image.c Thu Jun 21 22:01:27 2007 +0000 @@ -3044,8 +3044,8 @@ 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);