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
d4d18aa5
Commit
d4d18aa5
authored
Aug 05, 2016
by
Vincent Povirk
Committed by
Alexandre Julliard
Aug 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Fix matrix append flag in metafile transform records.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3852d335
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
metafile.c
dlls/gdiplus/metafile.c
+2
-2
No files found.
dlls/gdiplus/metafile.c
View file @
d4d18aa5
...
...
@@ -576,7 +576,7 @@ GpStatus METAFILE_ScaleWorldTransform(GpMetafile* metafile, REAL sx, REAL sy, Ma
return
stat
;
record
->
Header
.
Type
=
EmfPlusRecordTypeScaleWorldTransform
;
record
->
Header
.
Flags
=
(
order
==
MatrixOrderAppend
?
4
:
0
);
record
->
Header
.
Flags
=
(
order
==
MatrixOrderAppend
?
0x2000
:
0
);
record
->
Sx
=
sx
;
record
->
Sy
=
sy
;
...
...
@@ -948,7 +948,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
case
EmfPlusRecordTypeScaleWorldTransform
:
{
EmfPlusScaleWorldTransform
*
record
=
(
EmfPlusScaleWorldTransform
*
)
header
;
MatrixOrder
order
=
(
flags
&
0x
4
)
?
MatrixOrderAppend
:
MatrixOrderPrepend
;
MatrixOrder
order
=
(
flags
&
0x
2000
)
?
MatrixOrderAppend
:
MatrixOrderPrepend
;
if
(
dataSize
+
sizeof
(
EmfPlusRecordHeader
)
<
sizeof
(
EmfPlusScaleWorldTransform
))
return
InvalidParameter
;
...
...
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