From deca4044d29506bb0d54806e44bdbe3c802eb430 Mon Sep 17 00:00:00 2001 From: dirk Date: Thu, 29 May 2014 06:31:05 +0000 Subject: [PATCH] Formatting. --- coders/psd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coders/psd.c b/coders/psd.c index 59fc621c0..0afe07abf 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -1642,7 +1642,7 @@ static Image *ReadPSDImage(const ImageInfo *image_info, if (psd_info.mode == CMYKMode) { SetImageColorspace(image,CMYKColorspace,exception); - image->alpha_trait = psd_info.channels > 4 ? BlendPixelTrait : + image->alpha_trait=psd_info.channels > 4 ? BlendPixelTrait : UndefinedPixelTrait; } else if ((psd_info.mode == BitmapMode) || (psd_info.mode == GrayscaleMode) || @@ -1656,11 +1656,11 @@ static Image *ReadPSDImage(const ImageInfo *image_info, (void) LogMagickEvent(CoderEvent,GetMagickModule(), " Image colormap allocated"); SetImageColorspace(image,GRAYColorspace,exception); - image->alpha_trait = psd_info.channels > 1 ? BlendPixelTrait : + image->alpha_trait=psd_info.channels > 1 ? BlendPixelTrait : UndefinedPixelTrait; } else - image->alpha_trait = psd_info.channels > 3 ? BlendPixelTrait : + image->alpha_trait=psd_info.channels > 3 ? BlendPixelTrait : UndefinedPixelTrait; /* Read PSD raster colormap only present for indexed and duotone images. -- 2.40.0