summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-09 12:28:06 +0200
committerGitHub <noreply@github.com>2019-08-09 12:28:06 +0200
commit80c7cb63783414daba5a5ef84085bbb3c6f1ff15 (patch)
tree21af6788d3fe04cbb5dfcf04f57ba40b50174540 /platform/x11
parent51cd47e2aa6adfeab99cade9433fd2ee49f4ba4b (diff)
parent6ab118c4646b136cd83ff8406ce62a2576809def (diff)
Merge pull request #31227 from profan/fix/err-explain-usages
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories.
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/export/export.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/x11/export/export.cpp b/platform/x11/export/export.cpp
index 8767aac517..6e66173463 100644
--- a/platform/x11/export/export.cpp
+++ b/platform/x11/export/export.cpp
@@ -85,8 +85,7 @@ static Error fixup_embedded_pck(const String &p_path, int64_t p_embedded_start,
if (bits == 32 && p_embedded_size >= 0x100000000) {
f->close();
- ERR_EXPLAIN("32-bit executables cannot have embedded data >= 4 GiB");
- ERR_FAIL_V(ERR_INVALID_DATA);
+ ERR_FAIL_V_MSG(ERR_INVALID_DATA, "32-bit executables cannot have embedded data >= 4 GiB.");
}
// Get info about the section header table