From b4355e23195477f55a51327aada23f309321ec06 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 24 Nov 2018 17:59:51 -0500 Subject: [PATCH] ... --- MagickCore/enhance.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MagickCore/enhance.c b/MagickCore/enhance.c index dcd8d56be..51d5da622 100644 --- a/MagickCore/enhance.c +++ b/MagickCore/enhance.c @@ -2136,7 +2136,8 @@ MagickExport MagickBooleanType EqualizeImage(Image *image, { if ((GetPixelRedTraits(image) & UpdatePixelTrait) != 0) { - PixelChannel channel = GetPixelChannelChannel(image,RedPixelChannel); + PixelChannel channel = GetPixelChannelChannel(image, + RedPixelChannel); if (black[channel] != white[channel]) image->colormap[j].red=equalize_map[GetPixelChannels(image)* ScaleQuantumToMap(ClampToQuantum(image->colormap[j].red))+ @@ -2153,7 +2154,8 @@ MagickExport MagickBooleanType EqualizeImage(Image *image, } if ((GetPixelBlueTraits(image) & UpdatePixelTrait) != 0) { - PixelChannel channel = GetPixelChannelChannel(image,BluePixelChannel); + PixelChannel channel = GetPixelChannelChannel(image, + BluePixelChannel); if (black[channel] != white[channel]) image->colormap[j].blue=equalize_map[GetPixelChannels(image)* ScaleQuantumToMap(ClampToQuantum(image->colormap[j].blue))+ -- 2.40.0