From: dirk Date: Tue, 14 Jul 2015 20:36:01 +0000 (+0000) Subject: Changed check so -define tiff:ignore-layers also works. X-Git-Tag: 7.0.1-0~789 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c229d4b9d2561784e685f8eaff96279608e1e1c6;p=imagemagick Changed check so -define tiff:ignore-layers also works. --- diff --git a/coders/tiff.c b/coders/tiff.c index 46a74697e..bb4ef875d 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -965,7 +965,7 @@ static void TIFFReadPhotoshopLayers(Image* image,const ImageInfo *image_info, if (GetImageListLength(image) != 1) return; option=GetImageOption(image_info,"tiff:ignore-layers"); - if (IsStringTrue(option) != MagickFalse) + if (option != (const char * ) NULL) return; layer_info=GetImageProfile(image,"tiff:37724"); if (layer_info == (const StringInfo *) NULL)