mirror of
https://github.com/godotengine/godot.git
synced 2025-01-23 02:52:28 -05:00
Merge pull request #618 from siriustnt/bug_fix
ERR_FILE_CANT_READ -> ERR_FILE_CANT_WRITE
This commit is contained in:
commit
7b1a2a5018
1 changed files with 2 additions and 2 deletions
|
@ -1032,7 +1032,7 @@ Error EditorExportPlatformPC::export_project(const String& p_path, bool p_debug,
|
|||
if (!dst) {
|
||||
|
||||
EditorNode::add_io_error("Can't copy executable file to:\n "+p_path);
|
||||
return ERR_FILE_CANT_READ;
|
||||
return ERR_FILE_CANT_WRITE;
|
||||
}
|
||||
|
||||
uint8_t buff[32768];
|
||||
|
@ -1061,7 +1061,7 @@ Error EditorExportPlatformPC::export_project(const String& p_path, bool p_debug,
|
|||
if (!dst) {
|
||||
|
||||
EditorNode::add_io_error("Can't write data pack to:\n "+p_path);
|
||||
return ERR_FILE_CANT_READ;
|
||||
return ERR_FILE_CANT_WRITE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue