From 0c11a58c6e1f412d35cdb639fa45fc263fc85249 Mon Sep 17 00:00:00 2001 From: anthony Date: Thu, 16 Sep 2010 00:10:05 +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 361d9b2ff..001ed34ec 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 < 4 ) { + if ( hit == 0 ) { /* should be 4 */ /* not enough pixels in resampling, resort to direct interpolation */ #if 0 pixel->opacity = pixel->red = pixel->green = pixel->blue = 0; -- 2.40.0