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
2720e815
Commit
2720e815
authored
Oct 01, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs/tests: Use the W version of GetObject().
parent
d37c7eca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bitmap.c
dlls/windowscodecs/tests/bitmap.c
+1
-1
No files found.
dlls/windowscodecs/tests/bitmap.c
View file @
2720e815
...
...
@@ -152,7 +152,7 @@ static HBITMAP create_dib(int width, int height, int bpp, LOGPALETTE *pal, const
hdib
=
CreateDIBSection
(
0
,
bmi
,
DIB_RGB_COLORS
,
&
bits
,
NULL
,
0
);
ok
(
hdib
!=
0
,
"CreateDIBSection(%dx%d,%d bpp) failed
\n
"
,
width
,
height
,
bpp
);
GetObject
(
hdib
,
sizeof
(
bm
),
&
bm
);
GetObject
W
(
hdib
,
sizeof
(
bm
),
&
bm
);
ok
(
bm
.
bmWidth
==
width
,
"expected %d, got %d
\n
"
,
width
,
bm
.
bmWidth
);
ok
(
bm
.
bmHeight
==
height
,
"expected %d, got %d
\n
"
,
height
,
bm
.
bmHeight
);
ok
(
bm
.
bmPlanes
==
1
,
"expected 1, got %d
\n
"
,
bm
.
bmPlanes
);
...
...
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