Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
db6a9e6f
Commit
db6a9e6f
authored
Jun 29, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Jun 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Remove obviously incorrect calls to SetMapMode.
parent
d7af14f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
metafile.c
dlls/gdi32/metafile.c
+0
-4
No files found.
dlls/gdi32/metafile.c
View file @
db6a9e6f
...
@@ -1158,10 +1158,8 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf,
...
@@ -1158,10 +1158,8 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf,
HMETAFILE
hmf
;
HMETAFILE
hmf
;
UINT
ret
;
UINT
ret
;
RECT
rc
;
RECT
rc
;
INT
oldMapMode
;
GetClipBox
(
hdcRef
,
&
rc
);
GetClipBox
(
hdcRef
,
&
rc
);
oldMapMode
=
SetMapMode
(
hdcRef
,
fnMapMode
);
TRACE
(
"(%p,%d,%p,%d,%p) rc=%s
\n
"
,
hemf
,
cbBuffer
,
lpbBuffer
,
TRACE
(
"(%p,%d,%p,%d,%p) rc=%s
\n
"
,
hemf
,
cbBuffer
,
lpbBuffer
,
fnMapMode
,
hdcRef
,
wine_dbgstr_rect
(
&
rc
));
fnMapMode
,
hdcRef
,
wine_dbgstr_rect
(
&
rc
));
...
@@ -1172,8 +1170,6 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf,
...
@@ -1172,8 +1170,6 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf,
ret
=
GetMetaFileBitsEx
(
hmf
,
cbBuffer
,
lpbBuffer
);
ret
=
GetMetaFileBitsEx
(
hmf
,
cbBuffer
,
lpbBuffer
);
DeleteMetaFile
(
hmf
);
DeleteMetaFile
(
hmf
);
SetMapMode
(
hdcRef
,
oldMapMode
);
return
ret
;
return
ret
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment