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
17a866df
Commit
17a866df
authored
Mar 04, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Mar 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix tests on NT4.
parent
246a9a6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
clipping.c
dlls/gdi32/tests/clipping.c
+14
-5
No files found.
dlls/gdi32/tests/clipping.c
View file @
17a866df
...
...
@@ -162,12 +162,16 @@ static void verify_region(HRGN hrgn, const RECT *rc)
if
(
IsRectEmpty
(
rc
))
{
ok
(
rgn
.
data
.
rdh
.
nCount
==
0
,
"expected 0, got %u
\n
"
,
rgn
.
data
.
rdh
.
nCount
);
ok
(
rgn
.
data
.
rdh
.
nRgnSize
==
0
,
"expected 0, got %u
\n
"
,
rgn
.
data
.
rdh
.
nRgnSize
);
ok
(
rgn
.
data
.
rdh
.
nRgnSize
==
0
||
broken
(
rgn
.
data
.
rdh
.
nRgnSize
==
168
),
/* NT4 */
"expected 0, got %u
\n
"
,
rgn
.
data
.
rdh
.
nRgnSize
);
}
else
{
ok
(
rgn
.
data
.
rdh
.
nCount
==
1
,
"expected 1, got %u
\n
"
,
rgn
.
data
.
rdh
.
nCount
);
ok
(
rgn
.
data
.
rdh
.
nRgnSize
==
sizeof
(
RECT
),
"expected sizeof(RECT), got %u
\n
"
,
rgn
.
data
.
rdh
.
nRgnSize
);
ok
(
rgn
.
data
.
rdh
.
nRgnSize
==
sizeof
(
RECT
)
||
broken
(
rgn
.
data
.
rdh
.
nRgnSize
==
168
),
/* NT4 */
"expected sizeof(RECT), got %u
\n
"
,
rgn
.
data
.
rdh
.
nRgnSize
);
}
ok
(
EqualRect
(
&
rgn
.
data
.
rdh
.
rcBound
,
rc
),
"rects don't match
\n
"
);
}
...
...
@@ -236,9 +240,14 @@ if (0) /* crashes under Win9x */
SetLastError
(
0xdeadbeef
);
hrgn
=
ExtCreateRegion
(
NULL
,
1
,
&
rgn
.
data
);
ok
(
hrgn
!=
0
,
"ExtCreateRegion error %u
\n
"
,
GetLastError
());
verify_region
(
hrgn
,
&
rc
);
DeleteObject
(
hrgn
);
ok
(
hrgn
!=
0
||
broken
(
GetLastError
()
==
0xdeadbeef
),
/* NT4 */
"ExtCreateRegion error %u
\n
"
,
GetLastError
());
if
(
hrgn
)
{
verify_region
(
hrgn
,
&
rc
);
DeleteObject
(
hrgn
);
}
xform
.
eM11
=
0
.
5
;
/* 50% width */
xform
.
eM12
=
0
.
0
;
...
...
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