Author: greatlrd
Date: Tue Sep 26 01:28:09 2006
New Revision: 24271
URL:
http://svn.reactos.org/svn/reactos?rev=24271&view=rev
Log:
NtGdiSetViewportExtEx
fix a bsd by moving in some value to seh last
we can run gdi32_winetest mapping without bsd
Modified:
trunk/reactos/subsystems/win32/win32k/objects/coord.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/coord.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/coord.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/coord.c Tue Sep 26 01:28:09 2006
@@ -795,6 +795,12 @@
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 @@
}
}
- dc->vportExtX = XExtent;
- dc->vportExtY = YExtent;
-
- if (dc->w.MapMode == MM_ISOTROPIC)
- IntFixIsotropicMapping(dc);
+
DC_UpdateXforms(dc);
DC_UnlockDc(dc);