From 47da46dca23c0c6f51670977d82dce24204c5693 Mon Sep 17 00:00:00 2001 From: dirk Date: Thu, 24 Apr 2014 18:48:54 +0000 Subject: [PATCH] Fixed assignment. --- coders/png.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coders/png.c b/coders/png.c index 66f1561a7..aa074359d 100644 --- a/coders/png.c +++ b/coders/png.c @@ -11745,7 +11745,7 @@ static MagickBooleanType WritePNGImage(const ImageInfo *image_info, mng_info->write_png_colortype = /* 6 */ 7; mng_info->write_png_depth = 8; image->depth = 8; - image->alpha_trait == BlendPixelTrait; + image->alpha_trait = BlendPixelTrait; (void) SetImageType(image,TrueColorMatteType,exception); (void) SyncImage(image,exception); @@ -11771,7 +11771,7 @@ static MagickBooleanType WritePNGImage(const ImageInfo *image_info, mng_info->write_png_colortype = /* 6 */ 7; mng_info->write_png_depth = 16; image->depth = 16; - image->alpha_trait == BlendPixelTrait; + image->alpha_trait = BlendPixelTrait; (void) SetImageType(image,TrueColorMatteType,exception); (void) SyncImage(image,exception); -- 2.40.0