Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com

git-svn-id: svn://10.0.0.236/trunk@111488 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ccarlen%netscape.com
2002-01-07 14:35:04 +00:00
parent 85e8f1ab7c
commit 021c9dac7f
19 changed files with 2246 additions and 2517 deletions

View File

@@ -761,8 +761,8 @@ nsNativeComponentLoader::AutoRegisterComponent(PRInt32 when,
nsCOMPtr<nsILocalFileMac> localFileMac = do_QueryInterface(component);
if (localFileMac)
{
OSType type, creator;
rv = localFileMac->GetFileTypeAndCreator(&type, &creator);
OSType type;
rv = localFileMac->GetFileType(&type);
if (NS_SUCCEEDED(rv))
{
// on Mac, Mozilla shared libraries are of type 'shlb'