NtGdiSetViewportExtEx

fix a bsd by moving in some value to seh last
 we can run gdi32_winetest mapping without bsd

svn path=/trunk/; revision=24271
This commit is contained in:
Magnus Olsen 2006-09-25 21:28:09 +00:00
parent 4c2f6e8647
commit 56c76b3069

View file

@ -795,6 +795,12 @@ NtGdiSetViewportExtEx(HDC hDC,
1);
Size->cx = dc->vportExtX;
Size->cy = dc->vportExtY;
dc->vportExtX = XExtent;
dc->vportExtY = YExtent;
if (dc->w.MapMode == MM_ISOTROPIC)
IntFixIsotropicMapping(dc);
}
_SEH_HANDLE
{
@ -810,11 +816,7 @@ NtGdiSetViewportExtEx(HDC hDC,
}
}
dc->vportExtX = XExtent;
dc->vportExtY = YExtent;
if (dc->w.MapMode == MM_ISOTROPIC)
IntFixIsotropicMapping(dc);
DC_UpdateXforms(dc);
DC_UnlockDc(dc);