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
c579d474
Commit
c579d474
authored
Jan 06, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Tweak a test to avoid an '#if 0'.
parent
f96ddb27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dc.c
dlls/gdi32/tests/dc.c
+4
-4
No files found.
dlls/gdi32/tests/dc.c
View file @
c579d474
...
...
@@ -90,17 +90,17 @@ todo_wine
}
ret
=
IntersectClipRect
(
hdc
,
0
,
0
,
50
,
50
);
#if 0 /* XP returns COMPLEXREGION although dump_region reports only 1 rect */
ok(ret == SIMPLEREGION, "IntersectClipRect returned %d instead of SIMPLEREGION\n", ret);
#endif
if
(
ret
!=
SIMPLEREGION
)
if
(
ret
==
COMPLEXREGION
)
{
/* XP returns COMPLEXREGION although dump_region reports only 1 rect */
trace
(
"Windows BUG: IntersectClipRect returned %d instead of SIMPLEREGION
\n
"
,
ret
);
/* let's make sure that it's a simple region */
ret
=
GetClipRgn
(
hdc
,
hrgn
);
ok
(
ret
==
1
,
"GetClipRgn returned %d instead of 1
\n
"
,
ret
);
dump_region
(
hrgn
);
}
else
ok
(
ret
==
SIMPLEREGION
,
"IntersectClipRect returned %d instead of SIMPLEREGION
\n
"
,
ret
);
ret
=
GetClipBox
(
hdc
,
&
rc_clip
);
ok
(
ret
==
SIMPLEREGION
,
"GetClipBox returned %d instead of SIMPLEREGION
\n
"
,
ret
);
...
...
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