windowscodecs-Palette_Images: Fix a typo (thanks Dmitry Timoshkov).

This commit is contained in:
Sebastian Lackner 2016-12-12 06:05:41 +01:00
parent 7b0d1a2905
commit a0e9a41f77

View File

@ -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;
+ }