]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 30 Nov 2014 19:25:16 +0000 (19:25 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 30 Nov 2014 19:25:16 +0000 (19:25 +0000)
MagickCore/pixel.c

index f02b01642f32ad5989d28ac9107eb1b0fbe397a7..79d9c691f96fe4027201aec57562d91b2b007218 100644 (file)
@@ -6154,7 +6154,7 @@ MagickExport void SetPixelChannelMask(Image *image,
       (UpdatePixelTrait | BlendPixelTrait) : UpdatePixelTrait);
   }
   SetPixelChannelTraits(image,AlphaPixelChannel,
-    GetChannelBit(channel_mask,channel) == 0 ? CopyPixelTrait :
+    GetChannelBit(channel_mask,AlphaPixelChannel) == 0 ? CopyPixelTrait :
     image->alpha_trait);
   if (image->storage_class == PseudoClass)
     SetPixelChannelTraits(image,IndexPixelChannel,CopyPixelTrait);