From 30fb621f42a927e2bfda4ff34f650e5beb8e07d1 Mon Sep 17 00:00:00 2001 From: glennrp Date: Thu, 23 Apr 2015 17:29:26 +0000 Subject: [PATCH] Fixed bug with "-define png:format" introduced in version 6.8.9-0. --- coders/png.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/coders/png.c b/coders/png.c index 108e84492..be2adad5d 100644 --- a/coders/png.c +++ b/coders/png.c @@ -11507,8 +11507,6 @@ static MagickBooleanType WritePNGImage(const ImageInfo *image_info, mng_info->write_png64=LocaleCompare(image_info->magick,"PNG64") == 0; value=GetImageOption(image_info,"png:format"); - if (value == (char *) NULL) - if (LocaleCompare(image_info->magick,"PNG00") == 0) if (value != (char *) NULL || LocaleCompare(image_info->magick,"PNG00") == 0) { -- 2.50.1