[ros-diffs] [gadamopoulos] 53027: [comctl32] - Do not call CombineRgn with erroneous parameters - Should be sent to wine
gadamopoulos at svn.reactos.org
gadamopoulos at svn.reactos.org
Tue Aug 2 13:42:19 UTC 2011
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/win32/comctl32/listview.c?rev=53027&r1=53026&r2=53027&view=diff
==============================================================================
--- 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);
More information about the Ros-diffs
mailing list