summaryrefslogtreecommitdiff
path: root/platform/javascript
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-07 08:22:19 +0100
committerGitHub <noreply@github.com>2020-02-07 08:22:19 +0100
commitcf462d7ecaf3a8d15fa9b157dbde30b781e8dd67 (patch)
tree276d0ba18fff1808d24c18275081afead540dd60 /platform/javascript
parent195655a99561342de3763892707ff045b91c1aea (diff)
parente563b47dbeb95bcb784e22900181e8c9c7ac5760 (diff)
Merge pull request #35969 from muiroc/js_builderr
Fix javascript platform build
Diffstat (limited to 'platform/javascript')
-rw-r--r--platform/javascript/os_javascript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/os_javascript.cpp b/platform/javascript/os_javascript.cpp
index 87764d5750..34dce90b6b 100644
--- a/platform/javascript/os_javascript.cpp
+++ b/platform/javascript/os_javascript.cpp
@@ -980,7 +980,7 @@ Error OS_JavaScript::initialize(const VideoMode &p_desired, int p_video_driver,
EMSCRIPTEN_RESULT result;
#define EM_CHECK(ev) \
if (result != EMSCRIPTEN_RESULT_SUCCESS) \
- ERR_PRINT("Error while setting " #ev " callback: Code " + itos(result))
+ ERR_PRINT("Error while setting " #ev " callback: Code " + itos(result));
#define SET_EM_CALLBACK(target, ev, cb) \
result = emscripten_set_##ev##_callback(target, NULL, true, &cb); \
EM_CHECK(ev)