diff options
author | Nils ANDRÉ-CHANG <nils.andre.chang@gmail.com> | 2019-06-16 13:31:57 +0100 |
---|---|---|
committer | Nils ANDRÉ-CHANG <nils.andre.chang@gmail.com> | 2019-06-23 13:33:50 +0100 |
commit | d2833d4f4d891b6a0ee32a04f9d32a410b998b93 (patch) | |
tree | 3e1ce371e8edfb4f30571adb1e3c2b0b4a0a3389 /core/os/dir_access.cpp | |
parent | f410e7a8a9b14fd9f5c210afcc9e3519e9ce246d (diff) | |
download | redot-engine-d2833d4f4d891b6a0ee32a04f9d32a410b998b93.tar.gz |
Replace ` + "/" + ` with `String::file_add()`
Diffstat (limited to 'core/os/dir_access.cpp')
-rw-r--r-- | core/os/dir_access.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/dir_access.cpp b/core/os/dir_access.cpp index d81c30f33a..ec80bf3ebf 100644 --- a/core/os/dir_access.cpp +++ b/core/os/dir_access.cpp @@ -378,7 +378,7 @@ Error DirAccess::_copy_dir(DirAccess *p_target_da, String p_to, int p_chmod_flag list_dir_end(); return ERR_BUG; } - Error err = copy(get_current_dir() + "/" + n, p_to + rel_path, p_chmod_flags); + Error err = copy(get_current_dir().plus_file(n), p_to + rel_path, p_chmod_flags); if (err) { list_dir_end(); return err; |