diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-17 15:25:22 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-17 20:55:09 +0100 |
| commit | 73049d115e190b8c356f0689a9079c3c73cc5765 (patch) | |
| tree | 921a1935f6d841988071b930fbfea498bf872a3e /platform/windows/os_windows.cpp | |
| parent | ebbe2bd57235fcbd2edb82c05bb9d7d768b3e7ca (diff) | |
| download | redot-engine-73049d115e190b8c356f0689a9079c3c73cc5765.tar.gz | |
Rename OS::get_data_dir to OS::get_user_data_dir
Will be needed to avoid confusion with system data path (XDG_DATA_HOME)
and editor data dir in upcoming refactoring.
Diffstat (limited to 'platform/windows/os_windows.cpp')
| -rw-r--r-- | platform/windows/os_windows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 0f62dbb9e8..8c290127a0 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -1090,7 +1090,7 @@ void OS_Windows::initialize(const VideoMode &p_desired, int p_video_driver, int //RegisterTouchWindow(hWnd, 0); // Windows 7 - _ensure_data_dir(); + _ensure_user_data_dir(); DragAcceptFiles(hWnd, true); @@ -2167,7 +2167,7 @@ String OS_Windows::get_system_dir(SystemDir p_dir) const { ERR_FAIL_COND_V(res != S_OK, String()); return String(szPath); } -String OS_Windows::get_data_dir() const { +String OS_Windows::get_user_data_dir() const { String an = get_safe_application_name(); if (an != "") { |
