Forgot a file from r6396
authormathnerd314 <mathnerd314@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Mon, 22 Feb 2010 21:37:52 +0000 (21:37 +0000)
committermathnerd314 <mathnerd314@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Mon, 22 Feb 2010 21:37:52 +0000 (21:37 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6398 837edb03-e0f3-0310-88ca-d4d4e8b29345

src/supertux/menu/language_menu.cpp

index 1f317c2..136a284 100644 (file)
@@ -55,7 +55,7 @@ LanguageMenu::menu_action(MenuItem* item)
   if (item->id == MNID_LANGUAGE_AUTO_DETECT) // auto detect
   {
     FL_Locale *locale;
-    FL_FindLocale(&locale);
+    FL_FindLocale(&locale, FL_MESSAGES);
     tinygettext::Language language = tinygettext::Language::from_spec(locale->lang, locale->country, locale->variant);
     FL_FreeLocale(&locale);