Fixed an incorrect language specifier in ImGUI font initialization

for Korean language.
This commit is contained in:
bubnikv 2019-05-19 10:52:09 +02:00
parent b234a1b7a7
commit 9fca67d281

View File

@ -74,7 +74,7 @@ void ImGuiWrapper::set_language(const std::string &language)
ranges = ImGui::GetIO().Fonts->GetGlyphRangesCyrillic(); ranges = ImGui::GetIO().Fonts->GetGlyphRangesCyrillic();
} else if (lang == "jp") { } else if (lang == "jp") {
ranges = ImGui::GetIO().Fonts->GetGlyphRangesJapanese(); ranges = ImGui::GetIO().Fonts->GetGlyphRangesJapanese();
} else if (lang == "kr") { } else if (lang == "ko") {
ranges = ImGui::GetIO().Fonts->GetGlyphRangesKorean(); ranges = ImGui::GetIO().Fonts->GetGlyphRangesKorean();
} else if (lang == "zh") { } else if (lang == "zh") {
ranges = ImGui::GetIO().Fonts->GetGlyphRangesChineseSimplifiedCommon(); ranges = ImGui::GetIO().Fonts->GetGlyphRangesChineseSimplifiedCommon();