summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-10-15 20:22:13 +0200
committerGitHub <noreply@github.com>2017-10-15 20:22:13 +0200
commit1abab7b964a8d508faaaeb059514c81847365b96 (patch)
treea6d1e4078e83e60a3c300f097d957851e89631f3 /drivers
parent38ba70f2f5995628815c26c83f395291c168818e (diff)
parent93ef5124226239d05894c6268a0714391cdb4b5a (diff)
Merge pull request #12060 from mutato/windows_folder_creation_fix
DirAccessWindows: fix wrong path given to CreateDirectoryW, fixes #12019
Diffstat (limited to 'drivers')
-rw-r--r--drivers/windows/dir_access_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/windows/dir_access_windows.cpp b/drivers/windows/dir_access_windows.cpp
index 8d6e78dbee..0bc4201ba3 100644
--- a/drivers/windows/dir_access_windows.cpp
+++ b/drivers/windows/dir_access_windows.cpp
@@ -164,7 +164,7 @@ Error DirAccessWindows::make_dir(String p_dir) {
p_dir = fix_path(p_dir);
if (p_dir.is_rel_path())
- p_dir = get_current_dir().plus_file(p_dir);
+ p_dir = current_dir.plus_file(p_dir);
p_dir = p_dir.replace("/", "\\");