diff options
author | reduz <reduzio@gmail.com> | 2014-08-14 10:28:58 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2014-08-14 10:28:58 -0300 |
commit | 7b1a2a50187f7855eff70cc80475a23f2a5493e2 (patch) | |
tree | 2e46e672cf0711ae99a9411be92ccd754d1cd2bb | |
parent | a1d6cd02e39fbc84bc6f06e01496c11759b99c2d (diff) | |
parent | e0f37da05780eab01d79484c517361fb5bb38e2d (diff) |
Merge pull request #618 from siriustnt/bug_fix
ERR_FILE_CANT_READ -> ERR_FILE_CANT_WRITE
-rw-r--r-- | tools/editor/editor_import_export.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_import_export.cpp b/tools/editor/editor_import_export.cpp index 649db5fc45..8f9195110b 100644 --- a/tools/editor/editor_import_export.cpp +++ b/tools/editor/editor_import_export.cpp @@ -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; } } |