Browse Source

Change to use Local AppData instead of My Documents.

Joseph Davies 13 years ago
parent
commit
4d667df593
  1. 2
      Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Path.cpp

2
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

Loading…
Cancel
Save