]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 23 Feb 2014 21:47:32 +0000 (21:47 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 23 Feb 2014 21:47:32 +0000 (21:47 +0000)
coders/json.c

index 8172dabbe8b9720248e0028773e5d3cc2b62802c..c1dce23d000400e51075b55ba62787661abda8af 100644 (file)
@@ -431,11 +431,11 @@ static ssize_t PrintChannelPerceptualHash(FILE *file,const ChannelType channel,
   n=FormatLocaleFile(file,"      \"%s\": {\n",name);
   for (i=0; i < 6; i++)
     n+=FormatLocaleFile(file,
-      "        \"phash%.20g\": [ \"%.*g\", \"%.*g\" ],\n",i+1.0,
+      "        \"PH%.20g\": [ \"%.*g\", \"%.*g\" ],\n",i+1.0,
       GetMagickPrecision(),channel_phash[channel].P[i],
       GetMagickPrecision(),channel_phash[channel].Q[i]);
   n+=FormatLocaleFile(file,
-    "        \"phash%.20g\": [ \"%.*g\", \"%.*g\" ]\n",i+1.0,
+    "        \"PH%.20g\": [ \"%.*g\", \"%.*g\" ]\n",i+1.0,
     GetMagickPrecision(),channel_phash[channel].P[i],
     GetMagickPrecision(),channel_phash[channel].Q[i]);
   (void) FormatLocaleFile(file,"      }");