Module: wine Branch: refs/heads/master Commit: 033ca37367d91d98d539f894f3454c0dc959bde7 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=033ca37367d91d98d539f894...
Author: Tobias Loew tobi@die-loews.de Date: Tue Jan 31 12:57:14 2006 +0100
gdi: viewportExt changed after call to StrokePath.
---
dlls/gdi/path.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi/path.c b/dlls/gdi/path.c index e7bfb07..6df155a 100644 --- a/dlls/gdi/path.c +++ b/dlls/gdi/path.c @@ -1780,10 +1780,10 @@ static BOOL PATH_StrokePath(DC *dc, GdiP
/* Restore the old mapping mode */ SetMapMode(dc->hSelf, mapMode); - SetViewportExtEx(dc->hSelf, szViewportExt.cx, szViewportExt.cy, NULL); - SetViewportOrgEx(dc->hSelf, ptViewportOrg.x, ptViewportOrg.y, NULL); SetWindowExtEx(dc->hSelf, szWindowExt.cx, szWindowExt.cy, NULL); SetWindowOrgEx(dc->hSelf, ptWindowOrg.x, ptWindowOrg.y, NULL); + SetViewportExtEx(dc->hSelf, szViewportExt.cx, szViewportExt.cy, NULL); + SetViewportOrgEx(dc->hSelf, ptViewportOrg.x, ptViewportOrg.y, NULL);
/* Go to GM_ADVANCED temporarily to restore the world transform */ graphicsMode=GetGraphicsMode(dc->hSelf);