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

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