summaryrefslogtreecommitdiff
path: root/drivers/unix/os_unix.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-06-04 21:37:47 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-06-04 21:37:47 +0200
commit2884faf55bfe5bc01c71f1b77d8996300c7597ec (patch)
treec3cace4d63fc1b80d187064ebd148d4c81fc2f77 /drivers/unix/os_unix.cpp
parent5b6a8eca94301410b066def0303a132bdc833dd4 (diff)
parent9073dc99634285edc3b4886467871c14100f8233 (diff)
Merge pull request #4999 from volzhs/fix-project-path
change invalid characters when get user data dir on Windows & Unix
Diffstat (limited to 'drivers/unix/os_unix.cpp')
-rw-r--r--drivers/unix/os_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp
index 4fa46b16cd..8cb7c7b698 100644
--- a/drivers/unix/os_unix.cpp
+++ b/drivers/unix/os_unix.cpp
@@ -464,7 +464,7 @@ int OS_Unix::get_processor_count() const {
String OS_Unix::get_data_dir() const {
- String an = Globals::get_singleton()->get("application/name");
+ String an = get_safe_application_name();
if (an!="") {