winemenubuilder: Expand environment strings in the shortcut path.
This commit is contained in:
parent
df260d14a6
commit
3c31a373d3
|
@ -2254,7 +2254,8 @@ static BOOL InvokeShellLinker( IShellLinkW *sl, LPCWSTR link, BOOL bWait )
|
|||
ExpandEnvironmentStringsW(szTmp, szDescription, INFOTIPSIZE);
|
||||
WINE_TRACE("description: %s\n", wine_dbgstr_w(szDescription));
|
||||
|
||||
get_cmdline( sl, szPath, MAX_PATH, szArgs, INFOTIPSIZE);
|
||||
get_cmdline( sl, szTmp, MAX_PATH, szArgs, INFOTIPSIZE);
|
||||
ExpandEnvironmentStringsW(szTmp, szPath, MAX_PATH);
|
||||
WINE_TRACE("path : %s\n", wine_dbgstr_w(szPath));
|
||||
WINE_TRACE("args : %s\n", wine_dbgstr_w(szArgs));
|
||||
|
||||
|
|
Loading…
Reference in New Issue