Fix bug that crashed ReadOnlyBootPrompt. Basically it would not check the right function in the catalog addons before calling it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36287 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
20765a032c
commit
0223612e7e
@ -556,7 +556,7 @@ BLocaleRoster::GetInstalledCatalogs(BMessage * languageList, const char* sigPatt
|
||||
BCatalogAddOnInfo *info
|
||||
= (BCatalogAddOnInfo*)gRosterData.fCatalogAddOnInfos.ItemAt(i);
|
||||
|
||||
if (!info->MakeSureItsLoaded() || !info->fInstantiateFunc)
|
||||
if (!info->MakeSureItsLoaded() || !info->fLanguagesFunc)
|
||||
continue;
|
||||
|
||||
info->fLanguagesFunc(languageList, sigPattern, langPattern,
|
||||
|
Loading…
Reference in New Issue
Block a user