From 7d71ecd57640327233bbc009099bf963e4076fac Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 7 Mar 2017 20:00:39 -0500 Subject: [PATCH] https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31377& --- MagickCore/fx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MagickCore/fx.c b/MagickCore/fx.c index bb035e529..f968f410f 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -1130,8 +1130,7 @@ static double FxChannelStatistics(FxInfo *fx_info,Image *image, if (option >= 0) { channel=(PixelChannel) option; - channel_mask=(ChannelType) (channel_mask | (1 << channel)); - (void) SetPixelChannelMask(image,channel_mask); + channel_mask=SetPixelChannelMask(image,(ChannelType) (1 << channel)); } } (void) FormatLocaleString(key,MagickPathExtent,"%p.%.20g.%s",(void *) image, -- 2.40.0