From: cristy Date: Wed, 8 Jan 2014 12:42:48 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2943 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7023b3aa4056e6ca4e2db1964bec14c2abd1dbf4;p=imagemagick --- diff --git a/MagickWand/identify.c b/MagickWand/identify.c index d45aa75d2..d39746133 100644 --- a/MagickWand/identify.c +++ b/MagickWand/identify.c @@ -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; } }