]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 1 Mar 2011 14:56:40 +0000 (14:56 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 1 Mar 2011 14:56:40 +0000 (14:56 +0000)
magick/effect.c

index 19c1867e16fc725d9078d69bbd44700170517af1..e80a3eac323ed57d61da43c8484c9e380d6ea490 100644 (file)
@@ -5623,7 +5623,7 @@ MagickExport Image *UnsharpMaskImageChannel(const Image *image,
       if (((channel & IndexChannel) != 0) &&
           (image->colorspace == CMYKColorspace))
         {
-          pixel.index=unsharp_indexes[x]-(MagickRealType) indexes[x];
+          pixel.index=indexes[x]-(MagickRealType) unsharp_indexes[x];
           if (fabs(2.0*pixel.index) < quantum_threshold)
             pixel.index=(MagickRealType) indexes[x];
           else