HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc98ca5
)
(convert_mono_to_color_image): Swap fore and background.
author
Jason Rumney
<jasonr@gnu.org>
Thu, 21 Jun 2007 22:01:27 +0000
(22:01 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Thu, 21 Jun 2007 22:01:27 +0000
(22:01 +0000)
src/image.c
patch
|
blob
|
blame
|
history
diff --git
a/src/image.c
b/src/image.c
index
ebb73e3
..
a032a7f
100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-3044,8
+3044,8
@@
static void convert_mono_to_color_image (f, img, foreground, background)
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,
fore
ground);
- SetBkColor (new_img_dc,
back
ground);
+ SetTextColor (new_img_dc,
back
ground);
+ SetBkColor (new_img_dc,
fore
ground);
BitBlt (new_img_dc, 0, 0, img->width, img->height, old_img_dc,
0, 0, SRCCOPY);