From 4d667df593ce81cae7babdc24d553f2963d3e154 Mon Sep 17 00:00:00 2001 From: Joseph Davies Date: Thu, 14 Apr 2011 00:02:09 -0700 Subject: [PATCH] Change to use Local AppData instead of My Documents. --- Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Path.cpp b/Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Path.cpp index a8f9e36f..20120ba2 100644 --- a/Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Path.cpp +++ b/Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Path.cpp @@ -525,7 +525,7 @@ void PathGetUserDirectory ( ASSERT(dstChars); wchar temp[MAX_PATH]; // GetSpecialFolder path requires a buffer of MAX_PATH size or larger - if (SHGetSpecialFolderPathW(NULL, temp, CSIDL_PERSONAL, TRUE) == FALSE) + if (SHGetSpecialFolderPathW(NULL, temp, CSIDL_LOCAL_APPDATA, TRUE) == FALSE) StrCopy(temp, L"C:\\", arrsize(temp)); // append the product name