From e32a19668136c5f0b9cfd855eb05680e46bebcfd Mon Sep 17 00:00:00 2001 From: Juho Kuisma Date: Wed, 25 Feb 2026 23:08:22 +0200 Subject: [PATCH] Typo fix in coders/dng.c (#8580) Doesn't actually affect order of operations, but fixes an obvious typo. --- coders/dng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/dng.c b/coders/dng.c index 93af18fbda..ca91eb968a 100644 --- a/coders/dng.c +++ b/coders/dng.c @@ -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); }