зеркало из https://github.com/mozilla/pjs.git
Bug 443757 - Extra semicolon in nsMacShellService::SetDefaultBrowser makes "conditional" code unconditional. r=mano
This commit is contained in:
Родитель
9d2af08412
Коммит
7c1053a28a
|
@ -162,7 +162,7 @@ nsMacShellService::SetDefaultBrowser(PRBool aClaimAllTypes, PRBool aForAllUsers)
|
|||
|
||||
FSRef firefoxFSRef;
|
||||
// CFURLGetFSRef returns true if the conversion was successful
|
||||
if (::CFURLGetFSRef(firefoxURL, &firefoxFSRef)); {
|
||||
if (::CFURLGetFSRef(firefoxURL, &firefoxFSRef)) {
|
||||
// Set the default opener for html/htm files
|
||||
::_LSSetWeakBindingForType(0, 0, CFSTR("html"), kLSRolesAll, &firefoxFSRef);
|
||||
::_LSSetWeakBindingForType(0, 0, CFSTR("htm"), kLSRolesAll, &firefoxFSRef);
|
||||
|
|
Загрузка…
Ссылка в новой задаче