Skip to content

Commit e0f37da

Browse files
committed
ERR_FILE_CANT_READ -> ERR_FILE_CANT_WRITE
1 parent a1d6cd0 commit e0f37da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/editor/editor_import_export.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ Error EditorExportPlatformPC::export_project(const String& p_path, bool p_debug,
10321032
if (!dst) {
10331033

10341034
EditorNode::add_io_error("Can't copy executable file to:\n "+p_path);
1035-
return ERR_FILE_CANT_READ;
1035+
return ERR_FILE_CANT_WRITE;
10361036
}
10371037

10381038
uint8_t buff[32768];
@@ -1061,7 +1061,7 @@ Error EditorExportPlatformPC::export_project(const String& p_path, bool p_debug,
10611061
if (!dst) {
10621062

10631063
EditorNode::add_io_error("Can't write data pack to:\n "+p_path);
1064-
return ERR_FILE_CANT_READ;
1064+
return ERR_FILE_CANT_WRITE;
10651065
}
10661066
}
10671067

0 commit comments

Comments
 (0)