summaryrefslogtreecommitdiff
path: root/platform/uwp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-01-12 16:57:55 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-01-12 19:32:53 +0100
commitaf878716f2620fb9142b960253dc82f60ab23df2 (patch)
tree6ad992cca541f89ef5dba3b687ba170b82ee6087 /platform/uwp
parentdf257f4fb6f0eadd204b91396854eee5d72ebd9b (diff)
CI: Update to clang-format 11 and apply ternary operator changes
Diffstat (limited to 'platform/uwp')
-rw-r--r--platform/uwp/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp
index c2d94a1cf5..1aad2bfa1a 100644
--- a/platform/uwp/export/export.cpp
+++ b/platform/uwp/export/export.cpp
@@ -760,7 +760,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")).is_empty() ? (String)ProjectSettings::get_singleton()->get("application/config/name") : String(p_preset->get("package/display_name")));