[2/2] shell32: Reset pszHome if it's not usable so we don't try to reuse it when setting up the Desktop symlink.
Francois Gouget
fgouget at codeweavers.com
Mon Jan 5 12:27:42 CST 2015
---
dlls/shell32/shellpath.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index 83df879..0cdc409 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -2684,6 +2684,7 @@ static void _SHCreateSymbolicLinks(void)
{
/* '$HOME' doesn't exist. Create 'My Pictures', 'My Videos' and 'My Music' subdirs
* in '%USERPROFILE%\\My Documents' or fail silently if they already exist. */
+ pszHome = NULL;
strcpy(szPersonalTarget, pszPersonal);
for (i = 0; i < sizeof(aidsMyStuff)/sizeof(aidsMyStuff[0]); i++) {
strcpy(szMyStuffTarget, szPersonalTarget);
--
2.1.4
More information about the wine-patches
mailing list