]> granicus.if.org Git - imagemagick/commitdiff
Fixed typo.
authordirk <dirk@git.imagemagick.org>
Mon, 26 Sep 2016 18:34:43 +0000 (20:34 +0200)
committerdirk <dirk@git.imagemagick.org>
Mon, 26 Sep 2016 18:34:43 +0000 (20:34 +0200)
coders/psd.c

index 5fba21f3cb01b4c39728f3f9b1d98aae655a16f3..7d59f44a5f59650ef47403ed14cee149e8e0f173 100644 (file)
@@ -2563,7 +2563,7 @@ static MagickBooleanType WriteImageChannels(const PSDInfo *psd_info,
   channels=1;
   if (separate == MagickFalse)
     {
-      if (image->storage_class != PseudoClass)
+      if (next_image->storage_class != PseudoClass)
         {
           if (IsImageGray(next_image) == MagickFalse)
             channels=next_image->colorspace == CMYKColorspace ? 4 : 3;