https://git.reactos.org/?p=reactos.git;a=commitdiff;h=396249d9e04adc3eb4898…
commit 396249d9e04adc3eb4898778cc0b9d8c7e97a7af
Author: Whindmar Saksit <whindsaks(a)proton.me>
AuthorDate: Sat Feb 15 14:17:01 2025 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Feb 15 14:17:01 2025 +0100
[APPWIZ] Don't set the .lnk filename as the shortcut comment (#7720)
---
dll/cpl/appwiz/createlink.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dll/cpl/appwiz/createlink.c b/dll/cpl/appwiz/createlink.c
index 768bdbcebd0..cfb3e820f31 100644
--- a/dll/cpl/appwiz/createlink.c
+++ b/dll/cpl/appwiz/createlink.c
@@ -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];