mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 09:23:40 +00:00
Replace + "/" +
with String::file_add()
This commit is contained in:
parent
f410e7a8a9
commit
d2833d4f4d
17 changed files with 39 additions and 39 deletions
|
@ -316,7 +316,7 @@ Error DirAccessUnix::change_dir(String p_dir) {
|
|||
// try_dir is the directory we are trying to change into
|
||||
String try_dir = "";
|
||||
if (p_dir.is_rel_path()) {
|
||||
String next_dir = current_dir + "/" + p_dir;
|
||||
String next_dir = current_dir.plus_file(p_dir);
|
||||
next_dir = next_dir.simplify_path();
|
||||
try_dir = next_dir;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue