From 9fca67d2812090befec5a159facc16b22c1d5b85 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Sun, 19 May 2019 10:52:09 +0200 Subject: [PATCH] Fixed an incorrect language specifier in ImGUI font initialization for Korean language. --- src/slic3r/GUI/ImGuiWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/ImGuiWrapper.cpp b/src/slic3r/GUI/ImGuiWrapper.cpp index 8221a45cff..9541564329 100644 --- a/src/slic3r/GUI/ImGuiWrapper.cpp +++ b/src/slic3r/GUI/ImGuiWrapper.cpp @@ -74,7 +74,7 @@ void ImGuiWrapper::set_language(const std::string &language) ranges = ImGui::GetIO().Fonts->GetGlyphRangesCyrillic(); } else if (lang == "jp") { ranges = ImGui::GetIO().Fonts->GetGlyphRangesJapanese(); - } else if (lang == "kr") { + } else if (lang == "ko") { ranges = ImGui::GetIO().Fonts->GetGlyphRangesKorean(); } else if (lang == "zh") { ranges = ImGui::GetIO().Fonts->GetGlyphRangesChineseSimplifiedCommon();