]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 27 May 2012 00:31:01 +0000 (00:31 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 27 May 2012 00:31:01 +0000 (00:31 +0000)
MagickCore/statistic.c

index 6b0a90d26f209bc208a2f8119b3c703911e0b385..f6cca76737ddbb07da46bf3fcb56f30176d8d4e6 100644 (file)
@@ -1647,6 +1647,7 @@ MagickExport ChannelStatistics *GetImageStatistics(const Image *image,
             if (status != MagickFalse)
               {
                 channel_statistics[channel].depth++;
+                i--;
                 continue;
               }
           }