[SHELL32]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 4 May 2010 08:28:42 +0000 (08:28 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 4 May 2010 08:28:42 +0000 (08:28 +0000)
- Use target path when there is no icon path specified

svn path=/trunk/; revision=47100

reactos/dll/win32/shell32/shelllink.c

index 2d9ef1c..b2dd1cb 100644 (file)
@@ -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))
                {