[haiku-commits] r33625 - haiku/trunk/src/preferences/locale

  • From: pulkomandy@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 17 Oct 2009 21:28:00 +0200 (CEST)

Author: pulkomandy
Date: 2009-10-17 21:28:00 +0200 (Sat, 17 Oct 2009)
New Revision: 33625
Changeset: http://dev.haiku-os.org/changeset/33625/haiku

Modified:
   haiku/trunk/src/preferences/locale/LocaleWindow.cpp
Log:
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.


Modified: haiku/trunk/src/preferences/locale/LocaleWindow.cpp
===================================================================
--- haiku/trunk/src/preferences/locale/LocaleWindow.cpp 2009-10-17 19:04:55 UTC 
(rev 33624)
+++ haiku/trunk/src/preferences/locale/LocaleWindow.cpp 2009-10-17 19:28:00 UTC 
(rev 33625)
@@ -336,7 +336,7 @@
                                UnicodeString languageFullName;
                                BString str;
                                BStringByteSink bbs(&str);
-                               currentLocale.getDisplayName(languageFullName);
+                               currentLocale.getDisplayName(currentLocale, 
languageFullName);
                                languageFullName.toUTF8(bbs);
                                LanguageListItem* si
                                        = new LanguageListItem(str, 
currentLanguage.String());


Other related posts:

  • » [haiku-commits] r33625 - haiku/trunk/src/preferences/locale - pulkomandy