diff options
| author | Rémi Verschelde | 2016-06-04 21:37:47 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-06-04 21:37:47 +0200 |
| commit | 2884faf55bfe5bc01c71f1b77d8996300c7597ec (patch) | |
| tree | c3cace4d63fc1b80d187064ebd148d4c81fc2f77 /drivers/unix | |
| parent | 5b6a8eca94301410b066def0303a132bdc833dd4 (diff) | |
| parent | 9073dc99634285edc3b4886467871c14100f8233 (diff) | |
| download | godot-2884faf55bfe5bc01c71f1b77d8996300c7597ec.tar.gz godot-2884faf55bfe5bc01c71f1b77d8996300c7597ec.tar.zst godot-2884faf55bfe5bc01c71f1b77d8996300c7597ec.zip | |
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')
| -rw-r--r-- | drivers/unix/os_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index 4fa46b16c..8cb7c7b69 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!="") { |
