You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Remove duplicate ERR_PRINTS macro
This commit is contained in:
@@ -272,7 +272,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;
|
||||
}
|
||||
|
||||
@@ -280,7 +280,7 @@ Error DirAccess::copy(String p_from, String p_to, int p_chmod_flags) {
|
||||
if (err) {
|
||||
fsrc->close();
|
||||
memdelete(fsrc);
|
||||
ERR_PRINTS("Failed to open " + p_to);
|
||||
ERR_PRINT("Failed to open " + p_to);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user