Skip to content

Commit ceb30ca

Browse files
committed
Change to use Local AppData instead of My Documents.
1 parent 2b20308 commit ceb30ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Path.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ void PathGetUserDirectory (
525525
ASSERT(dstChars);
526526

527527
wchar temp[MAX_PATH]; // GetSpecialFolder path requires a buffer of MAX_PATH size or larger
528-
if (SHGetSpecialFolderPathW(NULL, temp, CSIDL_PERSONAL, TRUE) == FALSE)
528+
if (SHGetSpecialFolderPathW(NULL, temp, CSIDL_LOCAL_APPDATA, TRUE) == FALSE)
529529
StrCopy(temp, L"C:\\", arrsize(temp));
530530

531531
// append the product name

0 commit comments

Comments
 (0)