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
eba26475
Commit
eba26475
authored
Jan 09, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Don't test unreliable palette entries.
parent
40658789
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
palette.c
dlls/gdi32/tests/palette.c
+3
-3
No files found.
dlls/gdi32/tests/palette.c
View file @
eba26475
...
@@ -162,10 +162,10 @@ static void test_halftone_palette(void)
...
@@ -162,10 +162,10 @@ static void test_halftone_palette(void)
ok
(
count
==
256
||
broken
(
count
<=
20
),
/* nt 4 */
ok
(
count
==
256
||
broken
(
count
<=
20
),
/* nt 4 */
"wrong size %u
\n
"
,
count
);
"wrong size %u
\n
"
,
count
);
/* first and last
10
match the default palette */
/* first and last
8
match the default palette */
if
(
count
>=
20
)
if
(
count
>=
20
)
{
{
for
(
i
=
0
;
i
<
10
;
i
++
)
for
(
i
=
0
;
i
<
8
;
i
++
)
{
{
ok
(
entries
[
i
].
peRed
==
defpal
[
i
].
peRed
&&
ok
(
entries
[
i
].
peRed
==
defpal
[
i
].
peRed
&&
entries
[
i
].
peGreen
==
defpal
[
i
].
peGreen
&&
entries
[
i
].
peGreen
==
defpal
[
i
].
peGreen
&&
...
@@ -175,7 +175,7 @@ static void test_halftone_palette(void)
...
@@ -175,7 +175,7 @@ static void test_halftone_palette(void)
entries
[
i
].
peRed
,
entries
[
i
].
peGreen
,
entries
[
i
].
peBlue
,
entries
[
i
].
peFlags
,
entries
[
i
].
peRed
,
entries
[
i
].
peGreen
,
entries
[
i
].
peBlue
,
entries
[
i
].
peFlags
,
defpal
[
i
].
peRed
,
defpal
[
i
].
peGreen
,
defpal
[
i
].
peBlue
);
defpal
[
i
].
peRed
,
defpal
[
i
].
peGreen
,
defpal
[
i
].
peBlue
);
}
}
for
(
i
=
count
-
10
;
i
<
count
;
i
++
)
for
(
i
=
count
-
8
;
i
<
count
;
i
++
)
{
{
int
idx
=
i
-
count
+
20
;
int
idx
=
i
-
count
+
20
;
ok
(
entries
[
i
].
peRed
==
defpal
[
idx
].
peRed
&&
ok
(
entries
[
i
].
peRed
==
defpal
[
idx
].
peRed
&&
...
...
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