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
4bf5c5f8
Commit
4bf5c5f8
authored
Oct 06, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix a few failures on win9x.
parent
e4198d47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
bitmap.c
dlls/gdi32/tests/bitmap.c
+4
-1
No files found.
dlls/gdi32/tests/bitmap.c
View file @
4bf5c5f8
...
...
@@ -308,8 +308,11 @@ static void test_dib_info(HBITMAP hbm, const void *bits, const BITMAPINFOHEADER
buf
=
HeapAlloc
(
GetProcessHeap
(),
0
,
bm
.
bmWidthBytes
*
bm
.
bmHeight
+
4096
);
/* GetBitmapBits returns not 32-bit aligned data */
SetLastError
(
0xdeadbeef
);
ret
=
GetBitmapBits
(
hbm
,
0
,
NULL
);
ok
(
ret
==
bm_width_bytes
*
bm
.
bmHeight
,
"%d != %d
\n
"
,
ret
,
bm_width_bytes
*
bm
.
bmHeight
);
ok
(
ret
==
bm_width_bytes
*
bm
.
bmHeight
||
broken
(
ret
==
0
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
),
/* Win9x */
"%d != %d
\n
"
,
ret
,
bm_width_bytes
*
bm
.
bmHeight
);
memset
(
buf
,
0xAA
,
bm
.
bmWidthBytes
*
bm
.
bmHeight
+
4096
);
ret
=
GetBitmapBits
(
hbm
,
bm
.
bmWidthBytes
*
bm
.
bmHeight
+
4096
,
buf
);
...
...
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