From d2833d4f4d891b6a0ee32a04f9d32a410b998b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20ANDR=C3=89-CHANG?= Date: Sun, 16 Jun 2019 13:31:57 +0100 Subject: Replace ` + "/" + ` with `String::file_add()` --- core/os/dir_access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/os') 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; -- cgit v1.2.3