Manage: Include country in language list

This commit is contained in:
Birunthan Mohanathas 2013-10-13 18:54:55 +03:00
parent 0eb0602e47
commit 30fc135abc

View File

@ -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());