Author: pulkomandy Date: 2010-04-15 14:07:56 +0200 (Thu, 15 Apr 2010) New Revision: 36287 Changeset: http://dev.haiku-os.org/changeset/36287/haiku Modified: haiku/trunk/src/kits/locale/LocaleRoster.cpp Log: Fix bug that crashed ReadOnlyBootPrompt. Basically it would not check the right function in the catalog addons before calling it. Modified: haiku/trunk/src/kits/locale/LocaleRoster.cpp =================================================================== --- haiku/trunk/src/kits/locale/LocaleRoster.cpp 2010-04-15 11:56:58 UTC (rev 36286) +++ haiku/trunk/src/kits/locale/LocaleRoster.cpp 2010-04-15 12:07:56 UTC (rev 36287) @@ -556,7 +556,7 @@ BCatalogAddOnInfo *info = (BCatalogAddOnInfo*)gRosterData.fCatalogAddOnInfos.ItemAt(i); - if (!info->MakeSureItsLoaded() || !info->fInstantiateFunc) + if (!info->MakeSureItsLoaded() || !info->fLanguagesFunc) continue; info->fLanguagesFunc(languageList, sigPattern, langPattern,