]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 8 Jan 2014 12:42:48 +0000 (12:42 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 8 Jan 2014 12:42:48 +0000 (12:42 +0000)
MagickWand/identify.c

index d45aa75d2068a49fe95954d83ac34afaf80a59d8..d39746133b56786ff1a245e22ea128bc40592480 100644 (file)
@@ -346,7 +346,7 @@ WandExport MagickBooleanType IdentifyImageCommand(ImageInfo *image_info,
                   "MemoryAllocationFailed",GetExceptionMessage(errno));
               (void) ConcatenateString(&(*metadata),text);
               text=DestroyString(text);
-              if (LocaleCompare(format,"%n") == 0)
+              if (GlobExpression(format,"*%n*",MagickFalse) != MagickFalse)
                 break;
             }
         }