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
1f6f4329
Commit
1f6f4329
authored
Nov 29, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Nov 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix test on WinME.
parent
08400e9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
dc.c
dlls/gdi32/tests/dc.c
+9
-6
No files found.
dlls/gdi32/tests/dc.c
View file @
1f6f4329
...
...
@@ -528,12 +528,15 @@ static void test_boundsrect_invalid(void)
"Expected GetBoundsRect to return 0, got %u
\n
"
,
ret
);
ret
=
GetBoundsRect
(
hdc
,
&
rect
,
0
);
ok
(
ret
==
DCB_RESET
,
"Expected GetBoundsRect to return DCB_RESET, got %u
\n
"
,
ret
);
SetRect
(
&
expect
,
0
,
0
,
0
,
0
);
ok
(
EqualRect
(
&
rect
,
&
expect
),
"Expected output rectangle (0,0)-(0,0), got (%d,%d)-(%d,%d)
\n
"
,
rect
.
left
,
rect
.
top
,
rect
.
right
,
rect
.
bottom
);
if
(
ret
!=
DCB_SET
)
/* WinME */
{
ok
(
ret
==
DCB_RESET
,
"Expected GetBoundsRect to return DCB_RESET, got %u
\n
"
,
ret
);
SetRect
(
&
expect
,
0
,
0
,
0
,
0
);
ok
(
EqualRect
(
&
rect
,
&
expect
),
"Expected output rectangle (0,0)-(0,0), got (%d,%d)-(%d,%d)
\n
"
,
rect
.
left
,
rect
.
top
,
rect
.
right
,
rect
.
bottom
);
}
}
if
(
GetBoundsRect
(
hdc
,
NULL
,
0
)
==
DCB_RESET
)
...
...
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