Skip to content

Commit b0309a9

Browse files
committed
add a note as to why I hackfixed it, so I don't forget
svn path=/trunk/; revision=27619
1 parent 924a230 commit b0309a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reactos/dll/win32/syssetup/install.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ CreateShortcut(int csidl, LPCTSTR folder, UINT nIdName, LPCTSTR command, UINT nI
211211
if (!LoadString(hDllInstance, nIdTitle, title, sizeof(title)/sizeof(title[0])))
212212
return FALSE;
213213

214+
// FIXME: we should pass 'command' straight in here, but shell32 doesn't
215+
// expand it, and explorer uses ShellExecuteEx anyway instead of calling
216+
// shell32's STDMETHODCALLTYPE Resolve / IShellLinkW_fnResolve
214217
return SUCCEEDED(CreateShellLink(path, exeName, _T(""), lpWorkingDir, NULL, 0, title));
215218
}
216219

0 commit comments

Comments
 (0)