[EXPLORER] Fix creation of shortcuts in the start menu.

This commit is contained in:
Jared Smudde 2018-07-22 11:05:50 -05:00 committed by Hermès BÉLUSCA - MAÏTO
parent 7572ff067b
commit 1f2f03dd76

View file

@ -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)))