From a0e9a41f77c59d3a67ccd3fba507cb298f2dcf7e Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Mon, 12 Dec 2016 06:05:41 +0100 Subject: [PATCH] windowscodecs-Palette_Images: Fix a typo (thanks Dmitry Timoshkov). --- ...4-windowscodecs-Add-support-for-palette-image-formats-.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/windowscodecs-Palette_Images/0014-windowscodecs-Add-support-for-palette-image-formats-.patch b/patches/windowscodecs-Palette_Images/0014-windowscodecs-Add-support-for-palette-image-formats-.patch index a60fa8a3..8430c2ac 100644 --- a/patches/windowscodecs-Palette_Images/0014-windowscodecs-Add-support-for-palette-image-formats-.patch +++ b/patches/windowscodecs-Palette_Images/0014-windowscodecs-Add-support-for-palette-image-formats-.patch @@ -147,7 +147,7 @@ index b4b7e22..946eccd 100644 + + for (i = 0; i < This->colors; i++) + { -+ red[i] = (This->palette[i] >> 0) & 0xff00; ++ red[i] = (This->palette[i] >> 8) & 0xff00; + green[i] = This->palette[i] & 0xff00; + blue[i] = (This->palette[i] << 8) & 0xff00; + }