Author: janderwald
Date: Tue May 4 10:28:42 2010
New Revision: 47100
URL:
http://svn.reactos.org/svn/reactos?rev=47100&view=rev
Log:
[SHELL32]
- Use target path when there is no icon path specified
Modified:
trunk/reactos/dll/win32/shell32/shelllink.c
Modified: trunk/reactos/dll/win32/shell32/shelllink.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shelllin…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shelllink.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shelllink.c [iso-8859-1] Tue May 4 10:28:42 2010
@@ -2672,6 +2672,9 @@
case 14021:
if (This->sIcoPath)
wcscpy(szBuffer, This->sIcoPath);
+ else
+ wcscpy(szBuffer, This->sPath);
+
IconIndex = This->iIcoNdx;
if (PickIconDlg(hwndDlg, szBuffer, MAX_PATH, &IconIndex))
{