From: cristy Date: Wed, 7 Sep 2011 01:09:15 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~7059 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=448e3a38b9539e7b798871cbbb3dfaeed17366a6;p=imagemagick --- diff --git a/MagickCore/effect.c b/MagickCore/effect.c index fc202d640..e3de32611 100644 --- a/MagickCore/effect.c +++ b/MagickCore/effect.c @@ -4169,7 +4169,7 @@ static PixelInfo GetMaximumPixelList(PixelList *pixel_list) /* Find the maximum value for each of the color. */ - for (channel=0; channel < 5; channel++) + for (channel=0; channel < ListChannels; channel++) { list=pixel_list->lists+channel; color=65536L; @@ -4219,7 +4219,7 @@ static PixelInfo GetMeanPixelList(PixelList *pixel_list) /* Find the mean value for each of the color. */ - for (channel=0; channel < 5; channel++) + for (channel=0; channel < ListChannels; channel++) { list=pixel_list->lists+channel; color=65536L; @@ -4266,7 +4266,7 @@ static PixelInfo GetMedianPixelList(PixelList *pixel_list) /* Find the median value for each of the color. */ - for (channel=0; channel < 5; channel++) + for (channel=0; channel < ListChannels; channel++) { list=pixel_list->lists+channel; color=65536L; @@ -4311,7 +4311,7 @@ static PixelInfo GetMinimumPixelList(PixelList *pixel_list) /* Find the minimum value for each of the color. */ - for (channel=0; channel < 5; channel++) + for (channel=0; channel < ListChannels; channel++) { list=pixel_list->lists+channel; count=0; @@ -4360,7 +4360,7 @@ static PixelInfo GetModePixelList(PixelList *pixel_list) /* Make each pixel the 'predominant color' of the specified neighborhood. */ - for (channel=0; channel < 5; channel++) + for (channel=0; channel < ListChannels; channel++) { list=pixel_list->lists+channel; color=65536L; @@ -4413,7 +4413,7 @@ static PixelInfo GetNonpeakPixelList(PixelList *pixel_list) /* Finds the non peak value for each of the colors. */ - for (channel=0; channel < 5; channel++) + for (channel=0; channel < ListChannels; channel++) { list=pixel_list->lists+channel; color=65536L; @@ -4469,7 +4469,7 @@ static PixelInfo GetStandardDeviationPixelList(PixelList *pixel_list) /* Find the standard-deviation value for each of the color. */ - for (channel=0; channel < 5; channel++) + for (channel=0; channel < ListChannels; channel++) { list=pixel_list->lists+channel; color=65536L; @@ -4566,7 +4566,7 @@ static void ResetPixelList(PixelList *pixel_list) /* Reset the skip-list. */ - for (channel=0; channel < 5; channel++) + for (channel=0; channel < ListChannels; channel++) { list=pixel_list->lists+channel; root=list->nodes+65536UL;