Author: gedmurphy
Date: Mon Oct 29 16:34:51 2007
New Revision: 29953
URL:
http://svn.reactos.org/svn/reactos?rev=29953&view=rev
Log:
we don't need the 0xff
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c Mon Oct 29 16:34:51 2007
@@ -1553,9 +1553,9 @@
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));