Author: gadamopoulos
Date: Wed Feb 22 12:31:40 2017
New Revision: 73883
URL: http://svn.reactos.org/svn/reactos?rev=73883&view=rev
Log:
[COMCTL32_WINETEST] -Do not take into account the wine todos for the button tests.
Modified:
trunk/rostests/winetests/comctl32/button.c
Modified: trunk/rostests/winetests/comctl32/button.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/comctl32/button…
==============================================================================
--- trunk/rostests/winetests/comctl32/button.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/comctl32/button.c [iso-8859-1] Wed Feb 22 12:31:40 2017
@@ -19,6 +19,8 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+
+#undef USE_WINE_TODOS
//#include <windows.h>
#include <stdarg.h>
Author: khornicek
Date: Wed Feb 22 10:48:41 2017
New Revision: 73881
URL: http://svn.reactos.org/svn/reactos?rev=73881&view=rev
Log:
[NTGDI]
- Check for zero rectangles in REGION_bXformRgn.
CORE-12204
Modified:
trunk/reactos/win32ss/gdi/ntgdi/region.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 10:48:41 2017
@@ -2051,6 +2051,10 @@
RECT rect;
BOOL bResult;
+ /* Check for zero rectangles and return TRUE for translation only matrices */
+ if (prgn->rdh.nCount < 1)
+ return pmx->flAccel & XFORM_UNITY;
+
/* Check if this is a scaling only matrix (off-diagonal elements are 0 */
if (pmx->flAccel & XFORM_SCALE)
{