]> granicus.if.org Git - imagemagick/commitdiff
Finally fixed issue reported in #149
authorDirk Lemstra <dirk@git.imagemagick.org>
Tue, 22 Aug 2017 18:20:07 +0000 (20:20 +0200)
committerDirk Lemstra <dirk@git.imagemagick.org>
Tue, 22 Aug 2017 18:20:21 +0000 (20:20 +0200)
coders/json.c

index 433623048b5d7d8b555b829c2ee6c216aea21b1f..4288d3b5a7d73d5959edbea51dbcac326cb007e4 100644 (file)
@@ -1464,7 +1464,7 @@ static MagickBooleanType EncodeImageAttributes(Image *image,FILE *file,
                 case 219: tag="Custom Field 20"; break;
                 default: tag="unknown"; break;
               }
-              (void) FormatLocaleFile(file,"      %s[%.20g,%.20g]: ",tag,
+              (void) FormatLocaleFile(file,"      \"%s[%.20g,%.20g]\": ",tag,
                 (double) dataset,(double) record);
               length=(size_t) (GetStringInfoDatum(profile)[i++] << 8);
               length|=GetStringInfoDatum(profile)[i++];