From: dirk Date: Sat, 19 Sep 2015 13:02:33 +0000 (+0200) Subject: Changed return into a break to make sure SyncImagePixelCache is called. X-Git-Tag: 7.0.1-0~613^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0577b2ddf67a4c9f2604116332b97b29e53d2415;p=imagemagick Changed return into a break to make sure SyncImagePixelCache is called. --- diff --git a/MagickCore/channel.c b/MagickCore/channel.c index 01cbb6cd9..72df89bda 100644 --- a/MagickCore/channel.c +++ b/MagickCore/channel.c @@ -1217,7 +1217,7 @@ MagickExport MagickBooleanType SetImageAlphaChannel(Image *image, } image_view=DestroyCacheView(image_view); image->alpha_trait=image->background_color.alpha_trait; - return(status); + break; } case SetAlphaChannel: {