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
ab378803
Commit
ab378803
authored
Aug 03, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Aug 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix the creation of shortcuts with a null icon index by mapping it to zero.
parent
a92e7b1a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
action.c
dlls/msi/action.c
+4
-0
No files found.
dlls/msi/action.c
View file @
ab378803
...
@@ -2934,6 +2934,10 @@ static UINT ITERATE_CreateShortcuts(MSIRECORD *row, LPVOID param)
...
@@ -2934,6 +2934,10 @@ static UINT ITERATE_CreateShortcuts(MSIRECORD *row, LPVOID param)
Path
=
build_icon_path
(
package
,
buffer
);
Path
=
build_icon_path
(
package
,
buffer
);
index
=
MSI_RecordGetInteger
(
row
,
10
);
index
=
MSI_RecordGetInteger
(
row
,
10
);
/* no value means 0 */
if
(
index
==
MSI_NULL_INTEGER
)
index
=
0
;
IShellLinkW_SetIconLocation
(
sl
,
Path
,
index
);
IShellLinkW_SetIconLocation
(
sl
,
Path
,
index
);
msi_free
(
Path
);
msi_free
(
Path
);
}
}
...
...
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