mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
[Complex Test Layouts] Change String
to use UTF-32 encoding on all platforms.
This commit is contained in:
parent
0864f12f0d
commit
80b8eff6aa
94 changed files with 4889 additions and 1686 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue