Imgui: Fixed using of Fonts->GetGlyphRangesCyrillic() for BE dictionary
This commit is contained in:
parent
b20dfac403
commit
940fa11702
@ -177,7 +177,7 @@ void ImGuiWrapper::set_language(const std::string &language)
|
|||||||
m_font_cjk = false;
|
m_font_cjk = false;
|
||||||
if (lang == "cs" || lang == "pl" || lang == "hu") {
|
if (lang == "cs" || lang == "pl" || lang == "hu") {
|
||||||
ranges = ranges_latin2;
|
ranges = ranges_latin2;
|
||||||
} else if (lang == "ru" || lang == "uk") {
|
} else if (lang == "ru" || lang == "uk" || lang == "be") {
|
||||||
ranges = ImGui::GetIO().Fonts->GetGlyphRangesCyrillic(); // Default + about 400 Cyrillic characters
|
ranges = ImGui::GetIO().Fonts->GetGlyphRangesCyrillic(); // Default + about 400 Cyrillic characters
|
||||||
} else if (lang == "tr") {
|
} else if (lang == "tr") {
|
||||||
ranges = ranges_turkish;
|
ranges = ranges_turkish;
|
||||||
|
Loading…
Reference in New Issue
Block a user