summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnt <alkaloid.btx@gmail.com>2014-08-13 22:31:50 +0200
committertnt <alkaloid.btx@gmail.com>2014-08-13 22:31:50 +0200
commite0f37da05780eab01d79484c517361fb5bb38e2d (patch)
tree2e46e672cf0711ae99a9411be92ccd754d1cd2bb
parenta1d6cd02e39fbc84bc6f06e01496c11759b99c2d (diff)
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;
}
}