bug 26937 The code was changing the component registry got from the

service to open the application registry. This causes asserts all
over. The registry we get from the service is always the component
registry. r=dveditz
This commit is contained in:
dp%netscape.com 2000-02-08 23:03:03 +00:00
Родитель f18a1d3ba6
Коммит 1831657474
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -81,7 +81,7 @@ NS_METHOD OERegister(nsIComponentManager *aCompMgr,
return rv;
}
rv = reg->OpenDefault();
rv = reg->OpenWellKnownRegistry(nsIRegistry::ApplicationComponentRegistry);
if (NS_FAILED(rv)) {
IMPORT_LOG0( "*** Import OExpress, ERROR OPENING THE REGISTRY\n");
return( rv);