diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-06-04 21:37:47 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-06-04 21:37:47 +0200 |
commit | 2884faf55bfe5bc01c71f1b77d8996300c7597ec (patch) | |
tree | c3cace4d63fc1b80d187064ebd148d4c81fc2f77 /platform/windows/os_windows.cpp | |
parent | 5b6a8eca94301410b066def0303a132bdc833dd4 (diff) | |
parent | 9073dc99634285edc3b4886467871c14100f8233 (diff) |
Merge pull request #4999 from volzhs/fix-project-path
change invalid characters when get user data dir on Windows & Unix
Diffstat (limited to 'platform/windows/os_windows.cpp')
-rw-r--r-- | platform/windows/os_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 4f2bfd46ae..aff48c718c 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -2243,7 +2243,7 @@ String OS_Windows::get_system_dir(SystemDir p_dir) const { } String OS_Windows::get_data_dir() const { - String an = Globals::get_singleton()->get("application/name"); + String an = get_safe_application_name(); if (an!="") { if (has_environment("APPDATA")) { |