]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 22 Mar 2014 01:53:16 +0000 (01:53 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 22 Mar 2014 01:53:16 +0000 (01:53 +0000)
coders/bmp.c

index c232825ec50c0cc9375864e5c14e5c26ad352105..7e453cc040601ee7d0c4dc5ca85f17229df6852a 100644 (file)
@@ -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)