gdi32: Fix minor read buffer overrun in CombineRgn.

This commit is contained in:
Dan Kegel 2009-11-27 23:39:28 -08:00 committed by Alexandre Julliard
parent 56a57f0c9e
commit f3560ece31
1 changed files with 2 additions and 1 deletions

View File

@ -2216,7 +2216,8 @@ static BOOL REGION_SubtractO (WINEREGION *pReg, RECT *r1, RECT *r1End,
if (!add_rect( pReg, left, top, r1->right, bottom )) return FALSE;
}
r1++;
left = r1->left;
if (r1 != r1End)
left = r1->left;
}
}