mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
Typo fix in coders/dng.c (#8580)
Doesn't actually affect order of operations, but fixes an obvious typo.
This commit is contained in:
+1
-1
@@ -595,7 +595,7 @@ static Image *ReadDNGImage(const ImageInfo *image_info,ExceptionInfo *exception)
|
||||
SetPixelGreen(image,ScaleShortToQuantum(*p++),q);
|
||||
SetPixelBlue(image,ScaleShortToQuantum(*p++),q);
|
||||
}
|
||||
if ((raw_image->colors) == 2 || (raw_image->colors > 3))
|
||||
if ((raw_image->colors == 2) || (raw_image->colors > 3))
|
||||
SetPixelAlpha(image,ScaleShortToQuantum(*p++),q);
|
||||
q+=(ptrdiff_t) GetPixelChannels(image);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user