]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 16 Aug 2014 17:07:36 +0000 (17:07 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 16 Aug 2014 17:07:36 +0000 (17:07 +0000)
MagickCore/compare.c

index f8dd6662e3d3d3ba46d891132f1d54ed665d3715..39037ede156eea7768598aacecef079c6172e1ca 100644 (file)
@@ -111,8 +111,7 @@ static inline MagickBooleanType ValidateImageMorphology(
   /*
     Does the image match the reconstructed image morphology?
   */
-  if ((image->alpha_trait != reconstruct_image->alpha_trait) ||
-      (image->number_channels != reconstruct_image->number_channels))
+  if (image->number_channels != reconstruct_image->number_channels)
     return(MagickFalse);
   return(MagickTrue);
 }