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
536de62c
Commit
536de62c
authored
Mar 23, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemenubuilder: Use nameless unions.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a4b07324
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
programs/winemenubuilder/Makefile.in
+0
-1
winemenubuilder.c
programs/winemenubuilder/winemenubuilder.c
+4
-4
No files found.
programs/winemenubuilder/Makefile.in
View file @
536de62c
MODULE
=
winemenubuilder.exe
APPMODE
=
-mwindows
-municode
IMPORTS
=
uuid windowscodecs shell32 shlwapi ole32 user32 advapi32
EXTRADEFS
=
-DWINE_NO_NAMELESS_EXTENSION
C_SRCS
=
\
winemenubuilder.c
programs/winemenubuilder/winemenubuilder.c
View file @
536de62c
...
...
@@ -3093,12 +3093,12 @@ static BOOL InvokeShellLinkerForURL( IUniformResourceLocatorW *url, LPCWSTR link
hr
=
IPropertyStorage_ReadMultiple
(
pPropStg
,
2
,
ps
,
pv
);
if
(
SUCCEEDED
(
hr
))
{
if
(
pv
[
0
].
vt
==
VT_LPWSTR
&&
pv
[
0
].
u
.
pwszVal
&&
pv
[
0
].
u
.
pwszVal
[
0
])
if
(
pv
[
0
].
vt
==
VT_LPWSTR
&&
pv
[
0
].
pwszVal
&&
pv
[
0
]
.
pwszVal
[
0
])
{
has_icon
=
TRUE
;
icon_name
=
extract_icon
(
pv
[
0
].
u
.
pwszVal
,
pv
[
1
].
u
.
iVal
,
NULL
,
bWait
);
icon_name
=
extract_icon
(
pv
[
0
].
pwszVal
,
pv
[
1
]
.
iVal
,
NULL
,
bWait
);
WINE_TRACE
(
"URL icon path: %s icon index: %d icon name: %s
\n
"
,
wine_dbgstr_w
(
pv
[
0
].
u
.
pwszVal
),
pv
[
1
].
u
.
iVal
,
icon_name
);
WINE_TRACE
(
"URL icon path: %s icon index: %d icon name: %s
\n
"
,
wine_dbgstr_w
(
pv
[
0
].
pwszVal
),
pv
[
1
]
.
iVal
,
icon_name
);
}
PropVariantClear
(
&
pv
[
0
]);
PropVariantClear
(
&
pv
[
1
]);
...
...
@@ -3118,7 +3118,7 @@ static BOOL InvokeShellLinkerForURL( IUniformResourceLocatorW *url, LPCWSTR link
goto
cleanup
;
}
WINE_ERR
(
"failed to extract icon from %s
\n
"
,
wine_dbgstr_w
(
pv
[
0
].
u
.
pwszVal
));
wine_dbgstr_w
(
pv
[
0
].
pwszVal
));
}
hSem
=
CreateSemaphoreA
(
NULL
,
1
,
1
,
"winemenubuilder_semaphore"
);
...
...
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