From: dirk Date: Mon, 26 Sep 2016 18:34:43 +0000 (+0200) Subject: Fixed typo. X-Git-Tag: 7.0.3-2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c24743881b44e687a035b4debd35679023bb3f6;p=imagemagick Fixed typo. --- diff --git a/coders/psd.c b/coders/psd.c index 5fba21f3c..7d59f44a5 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -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;