Mercurial > emacs
diff src/image.c @ 81533:d7837cfee1ee
(convert_mono_to_color_image): Swap fore and background.
| author | Jason Rumney <jasonr@gnu.org> |
|---|---|
| date | Thu, 21 Jun 2007 23:01:39 +0000 |
| parents | f9305411500d |
| children | b98604865ea0 0ece58f6e0aa 988f1edc9674 |
line wrap: on
line diff
--- a/src/image.c Thu Jun 21 22:51:00 2007 +0000 +++ b/src/image.c Thu Jun 21 23:01:39 2007 +0000 @@ -3120,8 +3120,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);
