From 7873172c47da6df1e1e0f445cf6f9dab193f390b Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 21 May 2011 14:26:24 +0000 Subject: [PATCH] Disabled displaying country flags for languages. Prevents #7517. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41630 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/readonlybootprompt/BootPromptWindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/apps/readonlybootprompt/BootPromptWindow.cpp b/src/apps/readonlybootprompt/BootPromptWindow.cpp index 47ae1a8ef1..5008177cf5 100644 --- a/src/apps/readonlybootprompt/BootPromptWindow.cpp +++ b/src/apps/readonlybootprompt/BootPromptWindow.cpp @@ -63,6 +63,9 @@ public: 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 @@ public: delete fIcon; fIcon = NULL; } +#else + fIcon = NULL; +#endif } ~LanguageItem()