[ros-diffs] [janderwald] 47100: [SHELL32] - Use target path when there is no icon path specified
janderwald at svn.reactos.org
janderwald at svn.reactos.org
Tue May 4 10:28:43 CEST 2010
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/shelllink.c?rev=47100&r1=47099&r2=47100&view=diff
==============================================================================
--- 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))
{
More information about the Ros-diffs
mailing list