From afb49f428221c342d7a02bad4a36f43c85b99c65 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 9 Feb 2019 08:28:58 -0500 Subject: [PATCH] ... --- coders/bmp.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/coders/bmp.c b/coders/bmp.c index c5696546f..b335388cc 100644 --- a/coders/bmp.c +++ b/coders/bmp.c @@ -621,8 +621,8 @@ static Image *ReadBMPImage(const ImageInfo *image_info,ExceptionInfo *exception) if (image->debug != MagickFalse) (void) LogMagickEvent(CoderEvent,GetMagickModule()," BMP size: %u", bmp_info.size); - profile_data = 0; - profile_size = 0; + profile_data=0; + profile_size=0; if (bmp_info.size == 12) { /* @@ -1010,8 +1010,8 @@ static Image *ReadBMPImage(const ImageInfo *image_info,ExceptionInfo *exception) If we find a non zero value we asume the program that wrote the file wants to use the alpha channel. */ - if ((image->alpha_trait == UndefinedPixelTrait) && (bmp_info.size == 40) && - (bmp_info.bits_per_pixel == 32)) + if ((image->alpha_trait == UndefinedPixelTrait) && + (bmp_info.size == 40) && (bmp_info.bits_per_pixel == 32)) { bytes_per_line=4*(image->columns); for (y=(ssize_t) image->rows-1; y >= 0; y--) @@ -1444,9 +1444,9 @@ static Image *ReadBMPImage(const ImageInfo *image_info,ExceptionInfo *exception) } /* Read embeded ICC profile - */ - if ((bmp_info.colorspace == 0x4D424544L) && /* PROFILE_EMBEDDED */ - (profile_data > 0) && (profile_size > 0)) + */ + if ((bmp_info.colorspace == 0x4D424544L) && (profile_data > 0) && + (profile_size > 0)) { StringInfo *profile; -- 2.40.0