Qt: Fix OSD messages not rendering in Japanese translation

This commit is contained in:
Connor McLaughlin
2020-12-17 12:02:19 +10:00
parent ea996a0305
commit c1f802c397
2 changed files with 3 additions and 3 deletions

View File

@ -1414,7 +1414,7 @@ static bool AddImGuiFont(const std::string& language, float size, float framebuf
std::string path;
const ImWchar* range = nullptr;
#ifdef WIN32
if (language == "jp")
if (language == "ja")
{
path = GetFontPath("msgothic.ttc");
range = ImGui::GetIO().Fonts->GetGlyphRangesJapanese();