commit | c229d4b9d2561784e685f8eaff96279608e1e1c6 | [log] [tgz] |
---|---|---|
author | dirk <dirk@git.imagemagick.org> | Tue Jul 14 20:36:01 2015 +0000 |
committer | dirk <dirk@git.imagemagick.org> | Tue Jul 14 20:36:01 2015 +0000 |
tree | 2b15423e5295676d5d6e07d4b3aacbd79332cb63 | |
parent | 75b96c861e21aebaa0bc004d08ff371c09274955 [diff] |
Changed check so -define tiff:ignore-layers also works.
diff --git a/coders/tiff.c b/coders/tiff.c index 46a7469..bb4ef87 100644 --- a/coders/tiff.c +++ b/coders/tiff.c
@@ -965,7 +965,7 @@ 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)