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