mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user