From: Giannis Adamopoulos Date: Sat, 22 Oct 2011 11:35:13 +0000 (+0000) Subject: [comctl32] X-Git-Tag: backups/iut-netsh@54410~158 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=db3c333ce800a70d5887f19eef5e9e0f49a0fb53;ds=sidebyside [comctl32] - merge r53027 that missed the merge from themes branch - fixes floods of debug output by CombineRgn svn path=/trunk/; revision=54230 --- 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);