- Apply band-aid patch from CORE-8506. Problem still persists, how did a bad region get plugged into the DCE structure?

svn path=/trunk/; revision=64054
This commit is contained in:
James Tabor 2014-09-06 17:47:45 +00:00
parent adcc14bdf9
commit 7ae67c3b7a

View file

@ -252,9 +252,13 @@ DceUpdateVisRgn(DCE *Dce, PWND Window, ULONG Flags)
noparent:
if (Flags & DCX_INTERSECTRGN)
{
PREGION RgnClip = NULL;
if (Dce->hrgnClip != NULL)
RgnClip = REGION_LockRgn(Dce->hrgnClip);
if (RgnClip)
{
PREGION RgnClip = REGION_LockRgn(Dce->hrgnClip);
IntGdiCombineRgn(RgnVisible, RgnVisible, RgnClip, RGN_AND);
REGION_UnlockRgn(RgnClip);
}