mirror of
https://github.com/reactos/reactos.git
synced 2024-07-10 22:55:05 +00:00
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:
parent
4c2f6e8647
commit
56c76b3069
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue