changeset 40608:134b236ad704

(x_build_heuristic_mask): Use four_corners_best instead of IMAGE_BACKGROUND.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 01 Nov 2001 11:11:11 +0000
parents 657c6d2b13a2
children 3e60edf920ed
files src/xfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Thu Nov 01 10:38:59 2001 +0000
+++ b/src/xfns.c	Thu Nov 01 11:11:11 2001 +0000
@@ -8205,7 +8205,7 @@
     }
   
   if (use_img_background)
-    bg = IMAGE_BACKGROUND (img, f, ximg);
+    bg = four_corners_best (ximg, img->width, img->height);
 
   /* Set all bits in mask_img to 1 whose color in ximg is different
      from the background color bg.  */