mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-06 02:23:16 +00:00
CI: Update to clang-format 11 and apply ternary operator changes
(cherry picked from commit af878716f2)
This commit is contained in:
@@ -766,7 +766,7 @@ class EditorExportPlatformUWP : public EditorExportPlatform {
|
||||
result = result.replace("$version_string$", version);
|
||||
|
||||
Platform arch = (Platform)(int)p_preset->get("architecture/target");
|
||||
String architecture = arch == ARM ? "arm" : arch == X86 ? "x86" : "x64";
|
||||
String architecture = arch == ARM ? "arm" : (arch == X86 ? "x86" : "x64");
|
||||
result = result.replace("$architecture$", architecture);
|
||||
|
||||
result = result.replace("$display_name$", String(p_preset->get("package/display_name")).empty() ? (String)ProjectSettings::get_singleton()->get("application/config/name") : String(p_preset->get("package/display_name")));
|
||||
|
||||
Reference in New Issue
Block a user