Don't try to lock a dcs clip region if its NULL

svn path=/trunk/; revision=51411
This commit is contained in:
Timo Kreuzer 2011-04-20 21:10:13 +00:00
parent 1e27c057e4
commit be4bb69ef8

View file

@ -192,7 +192,7 @@ GdiGetClipBox(HDC hDC, PRECTL rc)
{
pRgn = dc->dclevel.prgnMeta;
}
else
else if (dc->rosdc.hClipRgn)
{
Unlock = TRUE ;
pRgn = REGION_LockRgn(dc->rosdc.hClipRgn); // CLIPRGN