mirror of
https://github.com/godotengine/godot.git
synced 2025-10-21 17:03:42 +00:00
Fix Closure compiler build, python style.
Move copyToFS into utils.js library included with '--pre-js'.
This commit is contained in:
parent
7411e7fd37
commit
d2eef39731
11 changed files with 79 additions and 50 deletions
|
@ -71,7 +71,7 @@ void OS_JavaScript::initialize() {
|
|||
char locale_ptr[16];
|
||||
/* clang-format off */
|
||||
EM_ASM({
|
||||
stringToUTF8(Module.locale, $0, 16);
|
||||
stringToUTF8(Module['locale'], $0, 16);
|
||||
}, locale_ptr);
|
||||
/* clang-format on */
|
||||
setenv("LANG", locale_ptr, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue