Author: gadamopoulos
Date: Sat Oct 22 11:35:13 2011
New Revision: 54230

URL: http://svn.reactos.org/svn/reactos?rev=54230&view=rev
Log:
[comctl32]
- merge r53027 that missed the merge from themes branch
- fixes floods of debug output by CombineRgn

Modified:
    trunk/reactos/dll/win32/comctl32/listview.c

Modified: trunk/reactos/dll/win32/comctl32/listview.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comctl32/listview.c?rev=54230&r1=54229&r2=54230&view=diff
==============================================================================
--- trunk/reactos/dll/win32/comctl32/listview.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comctl32/listview.c [iso-8859-1] Sat Oct 22 
11:35:13 2011
@@ -10359,7 +10359,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);
 


Reply via email to