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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user