Author: khornicek
Date: Wed Feb 22 21:18:18 2017
New Revision: 73890
URL:
http://svn.reactos.org/svn/reactos?rev=73890&view=rev
Log:
[WIN32K]
- Clean up after myself. Thanks, Giannis and Thomas.
Modified:
trunk/reactos/win32ss/gdi/ntgdi/region.c
trunk/reactos/win32ss/user/ntuser/class.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/region.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/region.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/region.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/region.c [iso-8859-1] Wed Feb 22 21:18:18 2017
@@ -2053,7 +2053,7 @@
/* Check for zero rectangles and return TRUE for translation only matrices */
if (prgn->rdh.nCount < 1)
- return pmx->flAccel & XFORM_UNITY;
+ return (pmx->flAccel & XFORM_UNITY) != 0;
/* Check if this is a scaling only matrix (off-diagonal elements are 0 */
if (pmx->flAccel & XFORM_SCALE)
Modified: trunk/reactos/win32ss/user/ntuser/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/class.…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/class.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/class.c [iso-8859-1] Wed Feb 22 21:18:18 2017
@@ -2333,7 +2333,6 @@
if (SYSTEMCUR(ARROW) == NULL)
{
ERR("SYSTEMCUR(ARROW) == NULL, should not happen!!\n");
- //ASSERT(FALSE);
}
else
{