summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFalk Moser <falk.moser@gmail.com>2017-10-13 00:34:05 +0200
committerFalk Moser <falk.moser@gmail.com>2017-10-13 00:34:05 +0200
commit93ef5124226239d05894c6268a0714391cdb4b5a (patch)
tree9ab6ef231c20758a089a17822feb7d154d381040 /drivers
parent79e247d74e775c2fe75d1dd499240e8782f0f44b (diff)
Fixed issue #12019, which prevented the creation of new folders on Windows platform
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("/", "\\");