You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Replace append_utfx with direct String::utfx
This commit is contained in:
@@ -1127,9 +1127,8 @@ String OS_Unix::get_executable_path() const {
|
||||
WARN_PRINT("Couldn't get executable path from sysctl");
|
||||
return OS::get_executable_path();
|
||||
}
|
||||
String b;
|
||||
b.append_utf8(buf);
|
||||
return b;
|
||||
|
||||
return String::utf8(buf);
|
||||
#elif defined(__APPLE__)
|
||||
char temp_path[1];
|
||||
uint32_t buff_size = 1;
|
||||
|
||||
Reference in New Issue
Block a user