From: dirk Date: Thu, 24 Apr 2014 18:48:54 +0000 (+0000) Subject: Fixed assignment. X-Git-Tag: 7.0.1-0~2417 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47da46dca23c0c6f51670977d82dce24204c5693;p=imagemagick Fixed assignment. --- 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);