Author: jgardou
Date: Tue Jul 13 18:38:19 2010
New Revision: 48027
URL:
http://svn.reactos.org/svn/reactos?rev=48027&view=rev
Log:
[WIN32K]
- Remove useless chack and comment from UserDrawIconEx
Modified:
branches/reactos-yarotows/subsystems/win32/win32k/ntuser/cursoricon.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/ntuser/cursoricon.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win…
==============================================================================
--- branches/reactos-yarotows/subsystems/win32/win32k/ntuser/cursoricon.c [iso-8859-1]
(original)
+++ branches/reactos-yarotows/subsystems/win32/win32k/ntuser/cursoricon.c [iso-8859-1] Tue
Jul 13 18:38:19 2010
@@ -1324,12 +1324,9 @@
return FALSE;
}
- /* NtGdiCreateCompatibleBitmap will create a monochrome bitmap
- when cxWidth or cyHeight is 0 */
+ /* Check for alpha */
if (hbmColor
&& (bmpColor.bmBitsPixel == 32)
- && (cxWidth != 0)
- && (cyHeight != 0)
&& (diFlags & DI_IMAGE))
{
SURFACE *psurfOff = NULL;