From db3c333ce800a70d5887f19eef5e9e0f49a0fb53 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Sat, 22 Oct 2011 11:35:13 +0000 Subject: [PATCH] [comctl32] - merge r53027 that missed the merge from themes branch - fixes floods of debug output by CombineRgn svn path=/trunk/; revision=54230 --- reactos/dll/win32/comctl32/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/comctl32/listview.c b/reactos/dll/win32/comctl32/listview.c index d6da12d5a0a..3b5ffe497a1 100644 --- a/reactos/dll/win32/comctl32/listview.c +++ b/reactos/dll/win32/comctl32/listview.c @@ -10359,7 +10359,7 @@ static BOOL LISTVIEW_NCPaint(const LISTVIEW_INFO *infoPtr, HRGN region) 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); -- 2.17.1