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
404b8202
Commit
404b8202
authored
Jun 21, 2011
by
Huw Davies
Committed by
Alexandre Julliard
Jun 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Skip the tests if the pen type is not supported.
parent
b5ad5d35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
pen.c
dlls/gdi32/tests/pen.c
+5
-1
No files found.
dlls/gdi32/tests/pen.c
View file @
404b8202
...
...
@@ -81,7 +81,11 @@ static void test_logpen(void)
lp
.
lopnColor
=
pen
[
i
].
color
;
SetLastError
(
0xdeadbeef
);
hpen
=
CreatePenIndirect
(
&
lp
);
ok
(
hpen
!=
0
,
"CreatePen error %d
\n
"
,
GetLastError
());
if
(
hpen
==
0
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
)
{
win_skip
(
"No support for pen style %u (%d)
\n
"
,
pen
[
i
].
style
,
i
);
continue
;
}
obj_type
=
GetObjectType
(
hpen
);
ok
(
obj_type
==
OBJ_PEN
,
"wrong object type %u
\n
"
,
obj_type
);
...
...
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