浏览代码

Fixed issue #12019, which prevented the creation of new folders on Windows platform

Falk Moser 8 年之前
父节点
当前提交
93ef512422
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/windows/dir_access_windows.cpp

+ 1 - 1
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("/", "\\");