mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +00:00
[EXPLORER] Fix creation of shortcuts in the start menu.
This commit is contained in:
parent
7572ff067b
commit
1f2f03dd76
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ VOID OnAddStartMenuItems(HWND hDlg)
|
|||
{
|
||||
WCHAR szPath[MAX_PATH];
|
||||
|
||||
if (SUCCEEDED(SHGetFolderPathW(NULL, CSIDL_STARTMENU, NULL, 0, szPath)))
|
||||
if (SUCCEEDED(SHGetFolderPathW(NULL, CSIDL_PROGRAMS, NULL, 0, szPath)))
|
||||
{
|
||||
WCHAR szCommand[MAX_PATH] = L"appwiz.cpl,NewLinkHere ";
|
||||
if (SUCCEEDED(StringCchCatW(szCommand, _countof(szCommand), szPath)))
|
||||
|
|
Loading…
Reference in a new issue