summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-04 18:32:18 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-04 18:32:18 -0300
commita6e6c5b8787d8218762f8a52ed99ef4248248c94 (patch)
treec0e7a2a23798212760aeed3f7372693d4bac6348 /drivers
parent2d396fb71070f282b6858cb77efac1c948b6b4a9 (diff)
parent2a02d3f96f8fa3ed844a9abf58c0bf4d8023ebcc (diff)
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'drivers')
-rw-r--r--drivers/windows/dir_access_windows.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/windows/dir_access_windows.cpp b/drivers/windows/dir_access_windows.cpp
index a8fed91d94..f548beaa38 100644
--- a/drivers/windows/dir_access_windows.cpp
+++ b/drivers/windows/dir_access_windows.cpp
@@ -167,6 +167,7 @@ Error DirAccessWindows::change_dir(String p_dir) {
if (worked) {
+
GetCurrentDirectoryW(2048,real_current_dir_name);
current_dir=real_current_dir_name; // TODO, utf8 parser
current_dir=current_dir.replace("\\","/");