From 950bbde105850dc0ffebfa1dc3feadb90986323a Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Tue, 4 May 2010 08:28:42 +0000 Subject: [PATCH] [SHELL32] - Use target path when there is no icon path specified svn path=/trunk/; revision=47100 --- reactos/dll/win32/shell32/shelllink.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reactos/dll/win32/shell32/shelllink.c b/reactos/dll/win32/shell32/shelllink.c index 2d9ef1c20ee..b2dd1cb6ff8 100644 --- a/reactos/dll/win32/shell32/shelllink.c +++ b/reactos/dll/win32/shell32/shelllink.c @@ -2672,6 +2672,9 @@ SH_ShellLinkDlgProc( case 14021: if (This->sIcoPath) wcscpy(szBuffer, This->sIcoPath); + else + wcscpy(szBuffer, This->sPath); + IconIndex = This->iIcoNdx; if (PickIconDlg(hwndDlg, szBuffer, MAX_PATH, &IconIndex)) {