Typo fix in coders/dng.c (#8580)

Doesn't actually affect order of operations, but fixes an obvious typo.
This commit is contained in:
Juho Kuisma
2026-02-25 23:08:22 +02:00
committed by GitHub
parent 9d21c294ea
commit e32a196681
+1 -1
View File
@@ -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);
}