]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 16 Feb 2015 20:51:29 +0000 (20:51 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 16 Feb 2015 20:51:29 +0000 (20:51 +0000)
MagickCore/enhance.c

index 82c9d9686d97071a5d5f528c5438a746510e624a..5c4d26a4807fe18be2a407ef01e98a4ef8f34cad 100644 (file)
@@ -1242,8 +1242,8 @@ MagickExport MagickBooleanType ContrastStretchImage(Image *image,
         PixelTrait traits=GetPixelChannelTraits(image,channel);
         if ((traits & UpdatePixelTrait) == 0)
           continue;
-        q[i]=ClampToQuantum(stretch_map[GetPixelChannels(image)*ScaleQuantumToMap(q[i])+
-          channel]);
+        q[i]=ClampToQuantum(stretch_map[GetPixelChannels(image)*
+          ScaleQuantumToMap(q[i])+channel]);
       }
       q+=GetPixelChannels(image);
     }