mirror of
https://github.com/reactos/reactos.git
synced 2024-10-27 16:46:55 +00:00
[comctl32]
- Do not call CombineRgn with erroneous parameters - Should be sent to wine svn path=/branches/GSoC_2011/ThemesSupport/; revision=53027
This commit is contained in:
parent
e3a05782a8
commit
234190071e
|
@ -10400,7 +10400,7 @@ static BOOL LISTVIEW_NCPaint(const LISTVIEW_INFO *infoPtr, HRGN region)
|
||||||
|
|
||||||
cliprgn = CreateRectRgn (r.left + cxEdge, r.top + cyEdge,
|
cliprgn = CreateRectRgn (r.left + cxEdge, r.top + cyEdge,
|
||||||
r.right - cxEdge, r.bottom - cyEdge);
|
r.right - cxEdge, r.bottom - cyEdge);
|
||||||
if (region != (HRGN)1)
|
if (region > (HRGN)1)
|
||||||
CombineRgn (cliprgn, cliprgn, region, RGN_AND);
|
CombineRgn (cliprgn, cliprgn, region, RGN_AND);
|
||||||
OffsetRect(&r, -r.left, -r.top);
|
OffsetRect(&r, -r.left, -r.top);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue