mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Merge pull request #66467 from nikitalita/fix-make-dir-windows
make_dir() choking on ".."
This commit is contained in:
commit
ff8e24098f
@ -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…
Reference in New Issue
Block a user