Locale Kit: Fix available language enumeration

Regression introduced in hrev54910.
The list of available languages in FirstBootPrompt would be empty.
This commit is contained in:
Adrien Destugues 2021-01-30 17:43:32 +01:00
parent 85a6d6530a
commit e03da2bd84

View File

@ -335,6 +335,7 @@ LocaleRosterData::_InitializeCatalogAddOns()
if (!defaultCatalogAddOnInfo)
return B_NO_MEMORY;
defaultCatalogAddOnInfo->MakeSureItsLoaded();
defaultCatalogAddOnInfo->fInstantiateFunc = DefaultCatalog::Instantiate;
defaultCatalogAddOnInfo->fCreateFunc = DefaultCatalog::Create;
fCatalogAddOnInfos.AddItem((void*)defaultCatalogAddOnInfo);