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
ed4444da
Commit
ed4444da
authored
Dec 11, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix some test failures on Win9x.
parent
76b24fd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bitmap.c
dlls/gdi32/tests/bitmap.c
+4
-4
No files found.
dlls/gdi32/tests/bitmap.c
View file @
ed4444da
...
...
@@ -339,7 +339,7 @@ static void test_dib_info(HBITMAP hbm, const void *bits, const BITMAPINFOHEADER
/* test various buffer sizes for GetObject */
ret
=
GetObject
(
hbm
,
0
,
NULL
);
ok
(
ret
==
sizeof
(
bm
),
"wrong size %d
\n
"
,
ret
);
ok
(
ret
==
sizeof
(
bm
)
||
broken
(
ret
==
sizeof
(
DIBSECTION
)
/* Win9x */
)
,
"wrong size %d
\n
"
,
ret
);
ret
=
GetObject
(
hbm
,
sizeof
(
*
dsa
)
*
2
,
dsa
);
ok
(
ret
==
sizeof
(
*
dsa
)
||
broken
(
ret
==
sizeof
(
*
dsa
)
*
2
/* Win9x */
),
"wrong size %d
\n
"
,
ret
);
...
...
@@ -367,7 +367,7 @@ static void test_dib_info(HBITMAP hbm, const void *bits, const BITMAPINFOHEADER
memset
(
&
ds
,
0xAA
,
sizeof
(
ds
));
ret
=
GetObject
(
hbm
,
sizeof
(
ds
)
-
4
,
&
ds
);
ok
(
ret
==
sizeof
(
ds
.
dsBm
),
"wrong size %d
\n
"
,
ret
);
ok
(
ret
==
sizeof
(
ds
.
dsBm
)
||
broken
(
ret
==
(
sizeof
(
ds
)
-
4
)
/* Win9x */
)
,
"wrong size %d
\n
"
,
ret
);
ok
(
ds
.
dsBm
.
bmWidth
==
bmih
->
biWidth
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biWidth
,
bmih
->
biWidth
);
ok
(
ds
.
dsBm
.
bmHeight
==
bmih
->
biHeight
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biHeight
,
bmih
->
biHeight
);
ok
(
ds
.
dsBm
.
bmBits
==
bits
,
"%p != %p
\n
"
,
ds
.
dsBm
.
bmBits
,
bits
);
...
...
@@ -376,7 +376,7 @@ static void test_dib_info(HBITMAP hbm, const void *bits, const BITMAPINFOHEADER
ok
(
ret
==
0
,
"%d != 0
\n
"
,
ret
);
ret
=
GetObject
(
hbm
,
1
,
&
ds
);
ok
(
ret
==
0
,
"%d != 0
\n
"
,
ret
);
ok
(
ret
==
0
||
broken
(
ret
==
1
/* Win9x */
)
,
"%d != 0
\n
"
,
ret
);
}
#define test_color_todo(got, exp, txt, todo) \
...
...
@@ -2150,7 +2150,7 @@ void test_GdiAlphaBlend()
if
(
!
pGdiAlphaBlend
)
{
skip
(
"GdiAlphaBlend() is not implemented
\n
"
);
win_
skip
(
"GdiAlphaBlend() is not implemented
\n
"
);
return
;
}
...
...
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