Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

remove duplicate else if statement

TrueJole22794f93df93
diff --git a/editor/themes/editor_fonts.cpp b/editor/themes/editor_fonts.cpp
index 5f9592ba69b..1f68c6cc114 100644
--- a/editor/themes/editor_fonts.cpp
+++ b/editor/themes/editor_fonts.cpp
@@ -181,7 +181,7 @@ void editor_register_fonts(const Ref<Theme> &p_theme) {
var_suffix = { "TC", "HK", "SC", "KR", "JP" };
} else if (locale.begins_with("ko")) {
var_suffix = { "KR", "HK", "SC", "TC", "JP" };
- } else if (locale.begins_with("ko")) {
+ } else if (locale.begins_with("ja")) {
var_suffix = { "JP", "HK", "KR", "SC", "TC" };
} else {
var_suffix = { "HK", "KR", "SC", "TC", "JP" };