You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[Complex Test Layouts] Change String to use UTF-32 encoding on all platforms.
This commit is contained in:
@@ -635,7 +635,7 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
||||
case TEXT_CHAR: {
|
||||
VALIDATE_ARG_COUNT(1);
|
||||
VALIDATE_ARG_NUM(0);
|
||||
CharType result[2] = { *p_args[0], 0 };
|
||||
char32_t result[2] = { *p_args[0], 0 };
|
||||
r_ret = String(result);
|
||||
} break;
|
||||
case TEXT_ORD: {
|
||||
|
||||
Reference in New Issue
Block a user