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:
@@ -67,7 +67,7 @@ static void handle_crash(int sig) {
|
||||
OS::get_singleton()->get_main_loop()->notification(MainLoop::NOTIFICATION_CRASH);
|
||||
}
|
||||
|
||||
fprintf(stderr, "Dumping the backtrace. %ls\n", msg.c_str());
|
||||
fprintf(stderr, "Dumping the backtrace. %s\n", msg.utf8().get_data());
|
||||
char **strings = backtrace_symbols(bt_buffer, size);
|
||||
if (strings) {
|
||||
for (size_t i = 1; i < size; i++) {
|
||||
@@ -109,7 +109,7 @@ static void handle_crash(int sig) {
|
||||
output.erase(output.length() - 1, 1);
|
||||
}
|
||||
|
||||
fprintf(stderr, "[%ld] %s (%ls)\n", (long int)i, fname, output.c_str());
|
||||
fprintf(stderr, "[%ld] %s (%s)\n", (long int)i, fname, output.utf8().get_data());
|
||||
}
|
||||
|
||||
free(strings);
|
||||
|
||||
Reference in New Issue
Block a user