mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
msi: Don't set the shortcut's working directory if it's NULL.
This commit is contained in:
parent
525ceb7085
commit
43f7f3ec3f
@ -2926,7 +2926,8 @@ static UINT ITERATE_CreateShortcuts(MSIRECORD *row, LPVOID param)
|
||||
LPWSTR Path;
|
||||
buffer = MSI_RecordGetString(row,12);
|
||||
Path = resolve_folder(package, buffer, FALSE, FALSE, NULL);
|
||||
IShellLinkW_SetWorkingDirectory(sl,Path);
|
||||
if (Path)
|
||||
IShellLinkW_SetWorkingDirectory(sl,Path);
|
||||
msi_free(Path);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user