Author: gadamopoulos Date: Tue Aug 2 13:42:18 2011 New Revision: 53027
URL: http://svn.reactos.org/svn/reactos?rev=53027&view=rev Log: [comctl32] - Do not call CombineRgn with erroneous parameters - Should be sent to wine
Modified: branches/GSoC_2011/ThemesSupport/dll/win32/comctl32/listview.c
Modified: branches/GSoC_2011/ThemesSupport/dll/win32/comctl32/listview.c URL: http://svn.reactos.org/svn/reactos/branches/GSoC_2011/ThemesSupport/dll/win3... ============================================================================== --- branches/GSoC_2011/ThemesSupport/dll/win32/comctl32/listview.c [iso-8859-1] (original) +++ branches/GSoC_2011/ThemesSupport/dll/win32/comctl32/listview.c [iso-8859-1] Tue Aug 2 13:42:18 2011 @@ -10400,7 +10400,7 @@
cliprgn = CreateRectRgn (r.left + cxEdge, r.top + cyEdge, r.right - cxEdge, r.bottom - cyEdge); - if (region != (HRGN)1) + if (region > (HRGN)1) CombineRgn (cliprgn, cliprgn, region, RGN_AND); OffsetRect(&r, -r.left, -r.top);