Forgot a file from r6396
authorMathnerd314 <man.is.allan@gmail.com>
Mon, 22 Feb 2010 21:37:52 +0000 (21:37 +0000)
committerMathnerd314 <man.is.allan@gmail.com>
Mon, 22 Feb 2010 21:37:52 +0000 (21:37 +0000)
SVN-Revision: 6398

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);