]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 15 Jan 2014 22:17:27 +0000 (22:17 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 15 Jan 2014 22:17:27 +0000 (22:17 +0000)
MagickCore/enhance.c

index 706e4e1714fb04ddd297d3d4a3a9ee7f328026ce..be8527d7d0ce7ecc49e7e6212ee395d2cd0f31bf 100644 (file)
@@ -890,8 +890,8 @@ MagickExport MagickBooleanType ContrastImage(Image *image,
 
         Contrast(sign,&red,&green,&blue);
         image->colormap[i].red=(MagickRealType) red;
-        image->colormap[i].red=(MagickRealType) red;
-        image->colormap[i].red=(MagickRealType) red;
+        image->colormap[i].green=(MagickRealType) green;
+        image->colormap[i].blue=(MagickRealType) blue;
       }
     }
   /*