diff options
author | tnt <alkaloid.btx@gmail.com> | 2014-08-13 22:31:50 +0200 |
---|---|---|
committer | tnt <alkaloid.btx@gmail.com> | 2014-08-13 22:31:50 +0200 |
commit | e0f37da05780eab01d79484c517361fb5bb38e2d (patch) | |
tree | 2e46e672cf0711ae99a9411be92ccd754d1cd2bb /tools | |
parent | a1d6cd02e39fbc84bc6f06e01496c11759b99c2d (diff) |
ERR_FILE_CANT_READ -> ERR_FILE_CANT_WRITE
Diffstat (limited to 'tools')
-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; } } |