From: anthony Date: Sun, 28 Apr 2013 12:18:12 +0000 (+0000) Subject: bug fix for %[fx:..] and %[pixel:...] escape expansion X-Git-Tag: 7.0.1-0~3793 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec26e259ac80ee77e5165858a7a1d4814646629e;p=imagemagick bug fix for %[fx:..] and %[pixel:...] escape expansion --- diff --git a/MagickCore/property.c b/MagickCore/property.c index db94b695c..a6bd55dca 100644 --- a/MagickCore/property.c +++ b/MagickCore/property.c @@ -3230,8 +3230,9 @@ MagickExport char *InterpretImageProperties(const ImageInfo *image_info, (void) FormatLocaleString(result,MaxTextExtent,"%.*g", GetMagickPrecision(),(double) value); - AppendKeyValue2Text(key,result); + AppendString2Text(result); } + continue; } /* pixel - color value calculator */ if (LocaleNCompare("pixel:",pattern,6) == 0) @@ -3283,6 +3284,7 @@ MagickExport char *InterpretImageProperties(const ImageInfo *image_info, exception); AppendString2Text(name); } + continue; } /* option - direct global option lookup (with globbing) */ if (LocaleNCompare("option:",pattern,7) == 0)