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
eae4b22b
Commit
eae4b22b
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 some test failures on NT4.
parent
23231d5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
metafile.c
dlls/gdi32/tests/metafile.c
+7
-3
No files found.
dlls/gdi32/tests/metafile.c
View file @
eae4b22b
...
...
@@ -1809,7 +1809,9 @@ static int CALLBACK clip_emf_enum_proc(HDC hdc, HANDLETABLE *handle_table,
ok
(
rgn1
->
data
.
rdh
.
dwSize
==
sizeof
(
rgn1
->
data
.
rdh
),
"expected sizeof(rdh), got %u
\n
"
,
rgn1
->
data
.
rdh
.
dwSize
);
ok
(
rgn1
->
data
.
rdh
.
iType
==
RDH_RECTANGLES
,
"expected RDH_RECTANGLES, got %u
\n
"
,
rgn1
->
data
.
rdh
.
iType
);
ok
(
rgn1
->
data
.
rdh
.
nCount
==
1
,
"expected 1, got %u
\n
"
,
rgn1
->
data
.
rdh
.
nCount
);
ok
(
rgn1
->
data
.
rdh
.
nRgnSize
==
sizeof
(
RECT
),
"expected sizeof(RECT), got %u
\n
"
,
rgn1
->
data
.
rdh
.
nRgnSize
);
ok
(
rgn1
->
data
.
rdh
.
nRgnSize
==
sizeof
(
RECT
)
||
broken
(
rgn1
->
data
.
rdh
.
nRgnSize
==
168
),
/* NT4 */
"expected sizeof(RECT), got %u
\n
"
,
rgn1
->
data
.
rdh
.
nRgnSize
);
hrgn
=
CreateRectRgn
(
0
,
0
,
0
,
0
);
...
...
@@ -1828,7 +1830,7 @@ static int CALLBACK clip_emf_enum_proc(HDC hdc, HANDLETABLE *handle_table,
PlayEnhMetaFileRecord
(
hdc
,
handle_table
,
emr
,
n_objs
);
ret
=
GetClipRgn
(
hdc
,
hrgn
);
ok
(
ret
==
1
,
"GetClipRgn returned %d, expected
0
\n
"
,
ret
);
ok
(
ret
==
1
,
"GetClipRgn returned %d, expected
1
\n
"
,
ret
);
/* Win9x returns empty clipping region */
if
(
is_win9x
)
return
1
;
...
...
@@ -1862,7 +1864,9 @@ static int CALLBACK clip_emf_enum_proc(HDC hdc, HANDLETABLE *handle_table,
ok
(
rgn2
.
data
.
rdh
.
dwSize
==
sizeof
(
rgn1
->
data
.
rdh
),
"expected sizeof(rdh), got %u
\n
"
,
rgn2
.
data
.
rdh
.
dwSize
);
ok
(
rgn2
.
data
.
rdh
.
iType
==
RDH_RECTANGLES
,
"expected RDH_RECTANGLES, got %u
\n
"
,
rgn2
.
data
.
rdh
.
iType
);
ok
(
rgn2
.
data
.
rdh
.
nCount
==
1
,
"expected 1, got %u
\n
"
,
rgn2
.
data
.
rdh
.
nCount
);
ok
(
rgn2
.
data
.
rdh
.
nRgnSize
==
sizeof
(
RECT
),
"expected sizeof(RECT), got %u
\n
"
,
rgn2
.
data
.
rdh
.
nRgnSize
);
ok
(
rgn2
.
data
.
rdh
.
nRgnSize
==
sizeof
(
RECT
)
||
broken
(
rgn2
.
data
.
rdh
.
nRgnSize
==
168
),
/* NT4 */
"expected sizeof(RECT), got %u
\n
"
,
rgn2
.
data
.
rdh
.
nRgnSize
);
DeleteObject
(
hrgn
);
}
...
...
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