From 30fc135abc684d2e53eb23570511c755d78acc5b Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 13 Oct 2013 18:54:55 +0300 Subject: [PATCH] Manage: Include country in language list --- Library/DialogManage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/DialogManage.cpp b/Library/DialogManage.cpp index 629c82b7..4a972e83 100644 --- a/Library/DialogManage.cpp +++ b/Library/DialogManage.cpp @@ -1916,7 +1916,7 @@ void DialogManage::TabSettings::Initialize() std::wstring text = fd.cFileName; text += L" - "; - GetLocaleInfo(lcid, LOCALE_SNATIVELANGUAGENAME, fd.cFileName, MAX_PATH); + GetLocaleInfo(lcid, LOCALE_SNATIVEDISPLAYNAME, fd.cFileName, MAX_PATH); text += fd.cFileName; int index = ComboBox_AddString(item, text.c_str());