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
5e7877da
Commit
5e7877da
authored
Aug 19, 2023
by
Jeff Smith
Committed by
Alexandre Julliard
Aug 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Simplify ICONINFO initialization.
parent
1855782e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
image.c
dlls/gdiplus/tests/image.c
+3
-7
No files found.
dlls/gdiplus/tests/image.c
View file @
5e7877da
...
...
@@ -1538,7 +1538,7 @@ static void test_fromhicon(void)
{
static
const
BYTE
bmp_bits
[
1024
];
HBITMAP
hbmMask
,
hbmColor
;
ICONINFO
info
;
ICONINFO
info
,
iconinfo_base
=
{
TRUE
,
0
,
0
,
0
,
0
}
;
HICON
hIcon
;
GpStatus
stat
;
GpBitmap
*
bitmap
=
NULL
;
...
...
@@ -1557,9 +1557,7 @@ static void test_fromhicon(void)
ok
(
hbmMask
!=
0
,
"CreateBitmap failed
\n
"
);
hbmColor
=
CreateBitmap
(
16
,
16
,
1
,
1
,
bmp_bits
);
ok
(
hbmColor
!=
0
,
"CreateBitmap failed
\n
"
);
info
.
fIcon
=
TRUE
;
info
.
xHotspot
=
8
;
info
.
yHotspot
=
8
;
info
=
iconinfo_base
;
info
.
hbmMask
=
hbmMask
;
info
.
hbmColor
=
hbmColor
;
hIcon
=
CreateIconIndirect
(
&
info
);
...
...
@@ -1596,9 +1594,7 @@ static void test_fromhicon(void)
ok
(
hbmMask
!=
0
,
"CreateBitmap failed
\n
"
);
hbmColor
=
CreateBitmap
(
16
,
16
,
1
,
8
,
bmp_bits
);
ok
(
hbmColor
!=
0
,
"CreateBitmap failed
\n
"
);
info
.
fIcon
=
TRUE
;
info
.
xHotspot
=
8
;
info
.
yHotspot
=
8
;
info
=
iconinfo_base
;
info
.
hbmMask
=
hbmMask
;
info
.
hbmColor
=
hbmColor
;
hIcon
=
CreateIconIndirect
(
&
info
);
...
...
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