mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 153324 user.js not loaded if prefs.js doesn't exist.
patch by tranquil@mail.dk r=bnesse sr=alecf
This commit is contained in:
parent
d98b057414
commit
24f6d49ed9
@ -180,9 +180,8 @@ NS_IMETHODIMP nsPrefService::ReadUserPrefs(nsIFile *aFile)
|
||||
nsresult rv;
|
||||
|
||||
if (nsnull == aFile) {
|
||||
rv = UseDefaultPrefFile(); // really should return a value...
|
||||
if (NS_SUCCEEDED(rv))
|
||||
UseUserPrefFile();
|
||||
rv = UseDefaultPrefFile();
|
||||
UseUserPrefFile();
|
||||
|
||||
NotifyServiceObservers(NS_PREFSERVICE_READ_TOPIC_ID);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user