we don't need the 0xff

svn path=/trunk/; revision=29953
This commit is contained in:
Ged Murphy 2007-10-29 13:34:51 +00:00
parent af97264c80
commit 4318124a73

View file

@ -1553,9 +1553,9 @@ UserDrawIconEx(
Alpha = ((BYTE)(Pixel >> 24) & 0xff);
Red = (((BYTE)(Pixel >> 0) & 0xff) * Alpha) / 0xff;
Green = (((BYTE)(Pixel >> 8) & 0xff) * Alpha) / 0xff;
Blue = (((BYTE)(Pixel >> 16) & 0xff) * Alpha) / 0xff;
Red = (((BYTE)(Pixel >> 0)) * Alpha) / 0xff;
Green = (((BYTE)(Pixel >> 8)) * Alpha) / 0xff;
Blue = (((BYTE)(Pixel >> 16)) * Alpha) / 0xff;
*(DWORD *)(pBits + Count) = (DWORD)(Red | (Green << 8) | (Blue << 16) | (Alpha << 24));