From 28c6ee6cef05fd4cec3e7bc2b477b0ac3f53e7fc Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sun, 14 Jul 2019 17:28:40 +0200 Subject: [PATCH] Code cleanup. --- coders/tim2.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/coders/tim2.c b/coders/tim2.c index eb0fe75d1..8a7fb0e74 100644 --- a/coders/tim2.c +++ b/coders/tim2.c @@ -555,9 +555,9 @@ static MagickBooleanType ReadTIM2ImageData(const ImageInfo *image_info, word = ((unsigned short)* p )<<0*8 | ((unsigned short)*(p+1))<<1*8; - image->colormap[i].red =GetChannelValue(word,0,RGBA16); + image->colormap[i].red=GetChannelValue(word,0,RGBA16); image->colormap[i].green=GetChannelValue(word,1,RGBA16); - image->colormap[i].blue =GetChannelValue(word,2,RGBA16); + image->colormap[i].blue=GetChannelValue(word,2,RGBA16); image->colormap[i].alpha=GetAlpha(word,16); p+=2; } @@ -571,9 +571,9 @@ static MagickBooleanType ReadTIM2ImageData(const ImageInfo *image_info, ((unsigned int)*(p+1))<<1*8 | ((unsigned int)*(p+2))<<2*8; - image->colormap[i].red =GetChannelValue(word,0,RGB24); + image->colormap[i].red=GetChannelValue(word,0,RGB24); image->colormap[i].green=GetChannelValue(word,1,RGB24); - image->colormap[i].blue =GetChannelValue(word,2,RGB24); + image->colormap[i].blue=GetChannelValue(word,2,RGB24); p+=3; } break; @@ -587,9 +587,9 @@ static MagickBooleanType ReadTIM2ImageData(const ImageInfo *image_info, ((unsigned int)*(p+2))<<2*8 | ((unsigned int)*(p+3))<<3*8; - image->colormap[i].red =GetChannelValue(word,0,RGBA32); + image->colormap[i].red=GetChannelValue(word,0,RGBA32); image->colormap[i].green=GetChannelValue(word,1,RGBA32); - image->colormap[i].blue =GetChannelValue(word,2,RGBA32); + image->colormap[i].blue=GetChannelValue(word,2,RGBA32); image->colormap[i].alpha=GetAlpha(word,RGBA32); p+=4; } -- 2.40.0