]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 3 Jun 2010 18:46:12 +0000 (18:46 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 3 Jun 2010 18:46:12 +0000 (18:46 +0000)
magick/attribute.c

index 2b40fc6de811454e3ae06be6e13d049d00412dab..abebc0136065b1ce1c117180b53d1dd222f5e2bc 100644 (file)
@@ -897,7 +897,7 @@ MagickExport MagickBooleanType SetImageChannelDepth(Image *image,
       if ((channel & GreenChannel) != 0)
         q->green=SetPixelDepth(q->green,scale);
       if ((channel & BlueChannel) != 0)
-        q->green=SetPixelDepth(q->blue,scale);
+        q->blue=SetPixelDepth(q->blue,scale);
       if (((channel & OpacityChannel) != 0) && (image->matte != MagickFalse))
         q->opacity=SetPixelDepth(q->opacity,scale);
       if (((channel & IndexChannel) != 0) &&