Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1e6a8013
Commit
1e6a8013
authored
Sep 03, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Sep 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Fix tests on Win7.
parent
1c65c6d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
region.c
dlls/gdiplus/tests/region.c
+5
-2
No files found.
dlls/gdiplus/tests/region.c
View file @
1e6a8013
...
...
@@ -364,7 +364,9 @@ static void test_getregiondata(void)
expect_dword
(
buf
+
5
,
12
);
expect_magic
((
DWORD
*
)(
buf
+
6
));
expect_dword
(
buf
+
7
,
0
);
expect_dword
(
buf
+
8
,
0x00004000
);
/* flags 0x4000 means its a path of shorts instead of FLOAT */
ok
((
*
(
buf
+
8
)
&
(
~
0x00004000
))
==
0x00000000
,
"expected 00000000 got %08x
\n
"
,
*
(
buf
+
8
)
&
(
~
0x00004000
));
status
=
GdipDeleteRegion
(
region
);
expect
(
Ok
,
status
);
...
...
@@ -503,7 +505,8 @@ static void test_getregiondata(void)
expect_float
(
buf
+
25
,
50
);
expect_float
(
buf
+
26
,
70
.
2
);
expect_dword
(
buf
+
27
,
0x01010100
);
expect_dword
(
buf
+
28
,
0x00000101
);
ok
(
*
(
buf
+
28
)
==
0x00000101
||
*
(
buf
+
28
)
==
0x43050101
/* Win 7 */
,
"expected 00000101 or 43050101 got %08x
\n
"
,
*
(
buf
+
28
));
status
=
GdipDeletePath
(
path
);
expect
(
Ok
,
status
);
...
...
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