mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
AppData -> Local AppData
This commit is contained in:
parent
f01b8ac21c
commit
fdaca46eb9
@ -577,7 +577,7 @@ get_user_appdata_directory() {
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
char buffer[MAX_PATH];
|
char buffer[MAX_PATH];
|
||||||
|
|
||||||
if (SHGetSpecialFolderPath(NULL, buffer, CSIDL_APPDATA, true)) {
|
if (SHGetSpecialFolderPath(NULL, buffer, CSIDL_LOCAL_APPDATA, true)) {
|
||||||
Filename dirname = from_os_specific(buffer);
|
Filename dirname = from_os_specific(buffer);
|
||||||
if (dirname.is_directory()) {
|
if (dirname.is_directory()) {
|
||||||
if (dirname.make_canonical()) {
|
if (dirname.make_canonical()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user