Merge pull request #12060 from mutato/windows_folder_creation_fix
DirAccessWindows: fix wrong path given to CreateDirectoryW, fixes #12019
This commit is contained in:
commit
1abab7b964
1 changed files with 1 additions and 1 deletions
|
@ -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("/", "\\");
|
||||
|
||||
|
|
Loading…
Reference in a new issue