[APPWIZ] Don't set the .lnk filename as the shortcut comment (#7720)

This commit is contained in:
Whindmar Saksit 2025-02-15 14:17:01 +01:00 committed by GitHub
parent ac175b23b7
commit 396249d9e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -489,6 +489,9 @@ FinishDlgProc(HWND hwndDlg,
PathRemoveExtensionW(pContext->szLinkName);
PathAddExtensionW(pContext->szLinkName, L".lnk");
/* Don't set a comment */
pContext->szDescription[0] = UNICODE_NULL;
if (!CreateShortcut(pContext))
{
WCHAR szMessage[128];