From 96c92ec2ded1da5c1ea23f09c1c0a1e99ed4dac9 Mon Sep 17 00:00:00 2001 From: Cristy Date: Fri, 21 Aug 2015 07:20:26 -0400 Subject: [PATCH] Use correct enum, its NearestInterpolatePixel --- MagickCore/effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/effect.c b/MagickCore/effect.c index 6e49520bb..24ed57b97 100644 --- a/MagickCore/effect.c +++ b/MagickCore/effect.c @@ -3590,7 +3590,7 @@ MagickExport Image *SpreadImage(const Image *image,const double radius, assert(exception != (ExceptionInfo *) NULL); assert(exception->signature == MagickCoreSignature); if (image->interpolate != NearestInterpolatePixel) - return(InterpolateSpreadImage(image,image->interpolate,radius,exception)); + return(InterpolateSpreadImage(image,image->interpolate,radius,exception)); spread_image=CloneImage(image,0,0,MagickTrue,exception); if (spread_image == (Image *) NULL) return((Image *) NULL); -- 2.40.0