From: cristy Date: Sat, 22 Mar 2014 01:53:16 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2551 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3980327f8c12075a77ac84a5b2c8b7f23638d627;p=imagemagick --- diff --git a/coders/bmp.c b/coders/bmp.c index c232825ec..7e453cc04 100644 --- a/coders/bmp.c +++ b/coders/bmp.c @@ -1192,8 +1192,8 @@ static Image *ReadBMPImage(const ImageInfo *image_info,ExceptionInfo *exception) SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q); SetPixelAlpha(image,OpaqueAlpha,q); if (image->alpha_trait == BlendPixelTrait) - SetPixelAlpha(image, - ScaleShortToQuantum((unsigned short) opacity),q); + SetPixelAlpha(image,ScaleShortToQuantum((unsigned short) + opacity),q); q+=GetPixelChannels(image); } if (SyncAuthenticPixels(image,exception) == MagickFalse) @@ -1287,8 +1287,8 @@ static Image *ReadBMPImage(const ImageInfo *image_info,ExceptionInfo *exception) SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q); SetPixelAlpha(image,OpaqueAlpha,q); if (image->alpha_trait == BlendPixelTrait) - SetPixelAlpha(image, - ScaleShortToQuantum((unsigned short) opacity),q); + SetPixelAlpha(image,ScaleShortToQuantum((unsigned short) + opacity),q); q+=GetPixelChannels(image); } if (SyncAuthenticPixels(image,exception) == MagickFalse)