Author: dquintana
Date: Thu Nov 13 17:03:15 2014
New Revision: 65393
URL:
http://svn.reactos.org/svn/reactos?rev=65393&view=rev
Log:
[SYSSETUP]
* Fix some icons not appearing. The desktop one for "Command Prompt" still
appears on the SYSTEM folder instead of the Default User one somehow.
Modified:
branches/shell-experiments/dll/win32/syssetup/install.c
Modified: branches/shell-experiments/dll/win32/syssetup/install.c
URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/sys…
==============================================================================
--- branches/shell-experiments/dll/win32/syssetup/install.c [iso-8859-1] (original)
+++ branches/shell-experiments/dll/win32/syssetup/install.c [iso-8859-1] Thu Nov 13
17:03:15 2014
@@ -262,7 +262,7 @@
if (!SetupGetStringFieldW(&Context, 2, szFolder, MAX_PATH, NULL))
continue;
- if (!SHGetSpecialFolderPathW(0, szPath, csidl, TRUE))
+ if (FAILED(SHGetFolderPathW(NULL, csidl|CSIDL_FLAG_CREATE, (HANDLE)-1,
SHGFP_TYPE_DEFAULT, szPath)))
continue;
p = PathAddBackslash(szPath);
@@ -487,7 +487,7 @@
hret = SHGetFolderPathW(NULL, csidl, NULL, 0, szPath);
if (FAILED(hret))
{
- FatalError("SHGetSpecialFolderPathW failed hret=0x%d\n", hret);
+ FatalError("SHGetFolderPathW failed hret=0x%d\n", hret);
continue;
}