]> granicus.if.org Git - imagemagick/commitdiff
Added missing comma reported in #149.
authorDirk Lemstra <dirk@git.imagemagick.org>
Thu, 21 Sep 2017 11:31:12 +0000 (13:31 +0200)
committerDirk Lemstra <dirk@git.imagemagick.org>
Thu, 21 Sep 2017 11:39:16 +0000 (13:39 +0200)
coders/json.c

index 4288d3b5a7d73d5959edbea51dbcac326cb007e4..32eb991c367e00cec128d38b162b7df2735fc5da 100644 (file)
@@ -1238,8 +1238,8 @@ static MagickBooleanType EncodeImageAttributes(Image *image,FILE *file,
     (void) FormatLocaleFile(file,"    \"iterations\": %.20g,\n",(double)
       image->iterations);
   if ((image->next != (Image *) NULL) || (image->previous != (Image *) NULL))
-    (void) FormatLocaleFile(file,"    \"scene\": %.20g\n    \"scenes\": "
-      "%.20g\n",(double) image->scene,(double) GetImageListLength(image));
+    (void) FormatLocaleFile(file,"    \"scene\": %.20g,\n    \"scenes\": "
+      "%.20g,\n",(double) image->scene,(double) GetImageListLength(image));
   else
     if (image->scene != 0)
       (void) FormatLocaleFile(file,"    \"scene\": %.20g,\n",(double)