Remove duplicate ERR_PRINT macro.
This commit is contained in:
parent
2b1084fab3
commit
5af3b4ca27
76 changed files with 173 additions and 178 deletions
|
|
@ -285,7 +285,7 @@ Error DirAccess::copy(String p_from, String p_to, int p_chmod_flags) {
|
|||
FileAccess *fsrc = FileAccess::open(p_from, FileAccess::READ, &err);
|
||||
|
||||
if (err) {
|
||||
ERR_PRINTS("Failed to open " + p_from);
|
||||
ERR_PRINT("Failed to open " + p_from);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
@ -294,7 +294,7 @@ Error DirAccess::copy(String p_from, String p_to, int p_chmod_flags) {
|
|||
|
||||
fsrc->close();
|
||||
memdelete(fsrc);
|
||||
ERR_PRINTS("Failed to open " + p_to);
|
||||
ERR_PRINT("Failed to open " + p_to);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue