From 444aba6f2ffca9162b9448f9755a96bb1871874e Mon Sep 17 00:00:00 2001 From: anthony Date: Thu, 16 Sep 2010 00:11:31 +0000 Subject: [PATCH] --- magick/resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magick/resample.c b/magick/resample.c index 001ed34ec..4c2063d03 100644 --- a/magick/resample.c +++ b/magick/resample.c @@ -1123,7 +1123,7 @@ MagickExport MagickBooleanType ResamplePixelColor( /* Result sanity check -- this should NOT happen */ - if ( hit == 0 ) { /* should be 4 */ + if ( hit == 4 ) { /* not enough pixels in resampling, resort to direct interpolation */ #if 0 pixel->opacity = pixel->red = pixel->green = pixel->blue = 0; -- 2.50.1