[ros-diffs] [jgardou] 48027: [WIN32K] - Remove useless chack and comment from UserDrawIconEx
jgardou at svn.reactos.org
jgardou at svn.reactos.org
Tue Jul 13 18:38:20 UTC 2010
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/win32/win32k/ntuser/cursoricon.c?rev=48027&r1=48026&r2=48027&view=diff
==============================================================================
--- 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;
More information about the Ros-diffs
mailing list