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
e1d56fa4
Commit
e1d56fa4
authored
Sep 28, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix a failing test in win9x.
parent
e2a8da9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
brush.c
dlls/gdi32/tests/brush.c
+7
-2
No files found.
dlls/gdi32/tests/brush.c
View file @
e1d56fa4
...
...
@@ -52,7 +52,9 @@ static void test_solidbrush(void)
if
(
stock
[
i
].
stockobj
!=
-
1
)
{
stockBrush
=
(
HBRUSH
)
GetStockObject
(
stock
[
i
].
stockobj
);
ok
(
stockBrush
!=
solidBrush
,
"Stock %s brush equals solid %s brush
\n
"
,
stock
[
i
].
name
,
stock
[
i
].
name
);
ok
(
stockBrush
!=
solidBrush
||
broken
(
stockBrush
==
solidBrush
),
/* win9x does return stock object */
"Stock %s brush equals solid %s brush
\n
"
,
stock
[
i
].
name
,
stock
[
i
].
name
);
}
else
stockBrush
=
NULL
;
...
...
@@ -70,7 +72,10 @@ static void test_solidbrush(void)
}
DeleteObject
(
solidBrush
);
ok
(
GetObject
(
solidBrush
,
sizeof
(
br
),
&
br
)
==
0
,
"GetObject succeeded on a deleted %s brush
\n
"
,
stock
[
i
].
name
);
ret
=
GetObject
(
solidBrush
,
sizeof
(
br
),
&
br
);
ok
(
ret
==
0
||
broken
(
ret
!=
0
),
/* win9x */
"GetObject succeeded on a deleted %s brush
\n
"
,
stock
[
i
].
name
);
}
}
...
...
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