diff options
| author | Jason Rumney | 2007-06-21 22:01:27 +0000 |
|---|---|---|
| committer | Jason Rumney | 2007-06-21 22:01:27 +0000 |
| commit | bfe7f3fcfc145e0915b35edc1c84f955b93599db (patch) | |
| tree | a416ec02cbcf4e9b64eb5deefc6bfbc11ec30158 /src | |
| parent | fc98ca56e08e5b6838a0170b81329196939045c6 (diff) | |
| download | emacs-bfe7f3fcfc145e0915b35edc1c84f955b93599db.tar.gz emacs-bfe7f3fcfc145e0915b35edc1c84f955b93599db.zip | |
(convert_mono_to_color_image): Swap fore and background.
Diffstat (limited to 'src')
| -rw-r--r-- | src/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c index ebb73e3996e..a032a7f5b62 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -3044,8 +3044,8 @@ static void convert_mono_to_color_image (f, img, foreground, background) | |||
| 3044 | release_frame_dc (f, hdc); | 3044 | release_frame_dc (f, hdc); |
| 3045 | old_prev = SelectObject (old_img_dc, img->pixmap); | 3045 | old_prev = SelectObject (old_img_dc, img->pixmap); |
| 3046 | new_prev = SelectObject (new_img_dc, new_pixmap); | 3046 | new_prev = SelectObject (new_img_dc, new_pixmap); |
| 3047 | SetTextColor (new_img_dc, foreground); | 3047 | SetTextColor (new_img_dc, background); |
| 3048 | SetBkColor (new_img_dc, background); | 3048 | SetBkColor (new_img_dc, foreground); |
| 3049 | 3049 | ||
| 3050 | BitBlt (new_img_dc, 0, 0, img->width, img->height, old_img_dc, | 3050 | BitBlt (new_img_dc, 0, 0, img->width, img->height, old_img_dc, |
| 3051 | 0, 0, SRCCOPY); | 3051 | 0, 0, SRCCOPY); |