From 4318124a7304ac1b17a321b4b73de0d0c60c1ccf Mon Sep 17 00:00:00 2001 From: Ged Murphy Date: Mon, 29 Oct 2007 13:34:51 +0000 Subject: [PATCH] we don't need the 0xff svn path=/trunk/; revision=29953 --- reactos/subsystems/win32/win32k/ntuser/cursoricon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/cursoricon.c b/reactos/subsystems/win32/win32k/ntuser/cursoricon.c index 75ac0b17a1e..c372c86a765 100644 --- a/reactos/subsystems/win32/win32k/ntuser/cursoricon.c +++ b/reactos/subsystems/win32/win32k/ntuser/cursoricon.c @@ -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));