changeset 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 77f0977982cb
children b895cdfeedc5
files src/image.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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);