]> granicus.if.org Git - imagemagick/commitdiff
bug fix for %[fx:..] and %[pixel:...] escape expansion
authoranthony <anthony@git.imagemagick.org>
Sun, 28 Apr 2013 12:18:12 +0000 (12:18 +0000)
committeranthony <anthony@git.imagemagick.org>
Sun, 28 Apr 2013 12:18:12 +0000 (12:18 +0000)
MagickCore/property.c

index db94b695cb5fd4544795abd6c2d986b9246e7f0b..a6bd55dca9a56c3b74545745a539bd67640fc371 100644 (file)
@@ -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)