Look for 'NSPL' as well as 'shlb'. Fix for bug #45697. r=av, sr=scc, a=rtm++.

This commit is contained in:
bnesse%netscape.com 2000-10-17 18:06:23 +00:00
parent 6bafa9a564
commit 9d1c3322a1

View File

@ -749,7 +749,7 @@ nsNativeComponentLoader::AutoRegisterComponent(PRInt32 when,
// on Mac, Mozilla shared libraries are of type 'shlb' // on Mac, Mozilla shared libraries are of type 'shlb'
// Note: we don't check the creator (which for Mozilla is 'MOZZ') // Note: we don't check the creator (which for Mozilla is 'MOZZ')
// so that 3rd party shared libraries will be noticed! // so that 3rd party shared libraries will be noticed!
validExtension = (type == 'shlb'); validExtension = ((type == 'shlb') || (type == 'NSPL'));
} }
} }