[haiku-commits] r41630 - haiku/trunk/src/apps/readonlybootprompt

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 21 May 2011 16:26:24 +0200 (CEST)

Author: bonefish
Date: 2011-05-21 16:26:24 +0200 (Sat, 21 May 2011)
New Revision: 41630
Changeset: https://dev.haiku-os.org/changeset/41630
Ticket: https://dev.haiku-os.org/ticket/7517

Modified:
   haiku/trunk/src/apps/readonlybootprompt/BootPromptWindow.cpp
Log:
Disabled displaying country flags for languages. Prevents #7517.


Modified: haiku/trunk/src/apps/readonlybootprompt/BootPromptWindow.cpp
===================================================================
--- haiku/trunk/src/apps/readonlybootprompt/BootPromptWindow.cpp        
2011-05-21 14:24:07 UTC (rev 41629)
+++ haiku/trunk/src/apps/readonlybootprompt/BootPromptWindow.cpp        
2011-05-21 14:26:24 UTC (rev 41630)
@@ -63,6 +63,9 @@
                BStringItem(label),
                fLanguage(language)
        {
+// Don't use *country* flags for *languages*. Can be re-enabled and adjusted
+// accordingly once we have language icons.
+#if 0
                fIcon = new(std::nothrow) BBitmap(BRect(0, 0, 15, 15), 
B_RGBA32);
                if (fIcon != NULL
                        && (!fIcon->IsValid()
@@ -71,6 +74,9 @@
                        delete fIcon;
                        fIcon = NULL;
                }
+#else
+               fIcon = NULL;
+#endif
        }
 
        ~LanguageItem()


Other related posts: