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
53b1e890
Commit
53b1e890
authored
Jun 16, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix the last test failure on NT4.
parent
eae4b22b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
metafile.c
dlls/gdi32/tests/metafile.c
+20
-0
No files found.
dlls/gdi32/tests/metafile.c
View file @
53b1e890
...
...
@@ -1277,6 +1277,26 @@ static BOOL match_emf_record(const ENHMETARECORD *emr1, const ENHMETARECORD *emr
HeapFree
(
GetProcessHeap
(),
0
,
eto1
);
HeapFree
(
GetProcessHeap
(),
0
,
eto2
);
}
else
if
(
emr1
->
iType
==
EMR_EXTSELECTCLIPRGN
&&
!
lstrcmpA
(
desc
,
"emf_clipping"
))
{
/* We have to take care of NT4 differences here */
diff
=
memcmp
(
emr1
,
emr2
,
emr1
->
nSize
);
if
(
diff
)
{
ENHMETARECORD
*
emr_nt4
;
emr_nt4
=
HeapAlloc
(
GetProcessHeap
(),
0
,
emr2
->
nSize
);
memcpy
(
emr_nt4
,
emr2
,
emr2
->
nSize
);
/* Correct the nRgnSize field */
emr_nt4
->
dParm
[
5
]
=
sizeof
(
RECT
);
diff
=
memcmp
(
emr1
,
emr_nt4
,
emr1
->
nSize
);
if
(
!
diff
)
win_skip
(
"Catered for NT4 differences
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
emr_nt4
);
}
}
else
diff
=
memcmp
(
emr1
,
emr2
,
emr1
->
nSize
);
...
...
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