From 0223612e7e38b54ba1c4c183af32a87bec1fa0f1 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Thu, 15 Apr 2010 12:07:56 +0000 Subject: [PATCH] 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 --- src/kits/locale/LocaleRoster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/locale/LocaleRoster.cpp b/src/kits/locale/LocaleRoster.cpp index b3969129c8..2de9e2274f 100644 --- a/src/kits/locale/LocaleRoster.cpp +++ b/src/kits/locale/LocaleRoster.cpp @@ -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,