summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2014-08-14 10:28:58 -0300
committerreduz <reduzio@gmail.com>2014-08-14 10:28:58 -0300
commit7b1a2a50187f7855eff70cc80475a23f2a5493e2 (patch)
tree2e46e672cf0711ae99a9411be92ccd754d1cd2bb
parenta1d6cd02e39fbc84bc6f06e01496c11759b99c2d (diff)
parente0f37da05780eab01d79484c517361fb5bb38e2d (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.cpp4
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;
}
}