Merge pull request #66467 from nikitalita/fix-make-dir-windows
make_dir() choking on ".."
This commit is contained in:
commit
ff8e24098f
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ Error DirAccessWindows::make_dir(String p_dir) {
|
|||
p_dir = current_dir.path_join(p_dir);
|
||||
}
|
||||
|
||||
p_dir = p_dir.replace("/", "\\");
|
||||
p_dir = p_dir.simplify_path().replace("/", "\\");
|
||||
|
||||
bool success;
|
||||
int err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue