# HG changeset patch # User Jason Rumney # Date 1182466899 0 # Node ID d7837cfee1eea7ad8f9d034f3f3d7837dfa842ba # Parent 77f0977982cb9289e0d68fa303eeea8ef241c633 (convert_mono_to_color_image): Swap fore and background. diff -r 77f0977982cb -r d7837cfee1ee src/image.c --- 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);