diff options
| author | Gerd Moellmann | 2001-11-01 11:11:44 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-11-01 11:11:44 +0000 |
| commit | 43f7c3ea0cc6872ac018531122f17801f0baf825 (patch) | |
| tree | 78c108c719d26911dec2871b9e896d604850ed79 /src | |
| parent | b350c2e5c30600d1361bd8dc61432158e38f002b (diff) | |
| download | emacs-43f7c3ea0cc6872ac018531122f17801f0baf825.tar.gz emacs-43f7c3ea0cc6872ac018531122f17801f0baf825.zip | |
(x_build_heuristic_mask): Use four_corners_best
instead of IMAGE_BACKGROUND.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xfns.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 586db55b6f6..05553b4c9bb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * xfns.c (x_build_heuristic_mask): Use four_corners_best | ||
| 4 | instead of IMAGE_BACKGROUND. | ||
| 5 | |||
| 3 | * xfns.c (four_corners_best): Reindent. | 6 | * xfns.c (four_corners_best): Reindent. |
| 4 | 7 | ||
| 5 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): | 8 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
diff --git a/src/xfns.c b/src/xfns.c index 4ae92260cfd..e034cb6676b 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -8205,7 +8205,7 @@ x_build_heuristic_mask (f, img, how) | |||
| 8205 | } | 8205 | } |
| 8206 | 8206 | ||
| 8207 | if (use_img_background) | 8207 | if (use_img_background) |
| 8208 | bg = IMAGE_BACKGROUND (img, f, ximg); | 8208 | bg = four_corners_best (ximg, img->width, img->height); |
| 8209 | 8209 | ||
| 8210 | /* Set all bits in mask_img to 1 whose color in ximg is different | 8210 | /* Set all bits in mask_img to 1 whose color in ximg is different |
| 8211 | from the background color bg. */ | 8211 | from the background color bg. */ |