Language names are now written in their own language, making it easier to find your own even if you mistakenly set your preference to something very strange.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33625 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues 2009-10-17 19:28:00 +00:00
parent e983ba85e9
commit 6886b5bf6a

View File

@ -336,7 +336,7 @@ LocaleWindow::LocaleWindow()
UnicodeString languageFullName;
BString str;
BStringByteSink bbs(&str);
currentLocale.getDisplayName(languageFullName);
currentLocale.getDisplayName(currentLocale, languageFullName);
languageFullName.toUTF8(bbs);
LanguageListItem* si
= new LanguageListItem(str, currentLanguage.String());