thx filip notice I use wrong filed to detect alpha blend.
authorMagnus Olsen <magnus@greatlord.com>
Thu, 21 Dec 2006 20:03:06 +0000 (20:03 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Thu, 21 Dec 2006 20:03:06 +0000 (20:03 +0000)
svn path=/trunk/; revision=25201

reactos/subsystems/win32/win32k/ntuser/cursoricon.c

index 999a5b0..8438cd1 100644 (file)
@@ -1400,7 +1400,7 @@ UserDrawIconEx(
       IconSize.cy = bmpMask.bmHeight / 2;
    }
 
-   if (bmpColor.bmPlanes == 32)
+   if (bmpColor.bmBitsPixel == 32)
    {
       bAlpha = TRUE;
    }