From: dirk Date: Thu, 4 Sep 2014 21:03:28 +0000 (+0000) Subject: Fixed checking ReadMask. X-Git-Tag: 7.0.1-0~2044 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05d33c9b68b3d7f4c5de36ca6235a3c71b4b8316;p=imagemagick Fixed checking ReadMask. --- diff --git a/MagickCore/effect.c b/MagickCore/effect.c index 697cf8b6b..2608e976d 100644 --- a/MagickCore/effect.c +++ b/MagickCore/effect.c @@ -3423,7 +3423,7 @@ MagickExport Image *UnsharpMaskImage(const Image *image,const double radius, (unsharp_traits == UndefinedPixelTrait)) continue; if (((unsharp_traits & CopyPixelTrait) != 0) || - (GetPixelReadMask(image,p) != 0)) + (GetPixelReadMask(image,p) == 0)) { SetPixelChannel(unsharp_image,channel,p[i],q); continue;