mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[EXPLORER] Fix creation of shortcuts in the start menu.
This commit is contained in:
committed by
Hermès BÉLUSCA - MAÏTO
parent
7572ff067b
commit
1f2f03dd76
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user