mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 398624. Prbool fixes. r=bienvenu, a=sayrer
This commit is contained in:
parent
38e534bde5
commit
e868a558fb
@ -216,7 +216,7 @@ nsresult nsReadConfig::readConfigFile()
|
||||
PRInt32 obscureValue = 0;
|
||||
(void) defaultPrefBranch->GetIntPref("general.config.obscure_value", &obscureValue);
|
||||
PR_LOG(MCD, PR_LOG_DEBUG, ("evaluating .cfg file %s with obscureValue %d\n", lockFileName.get(), obscureValue));
|
||||
rv = openAndEvaluateJSFile(lockFileName.get(), PR_TRUE, obscureValue, PR_TRUE);
|
||||
rv = openAndEvaluateJSFile(lockFileName.get(), obscureValue, PR_TRUE, PR_TRUE);
|
||||
if (NS_FAILED(rv))
|
||||
{
|
||||
PR_LOG(MCD, PR_LOG_DEBUG, ("error evaluating .cfg file %s %x\n", lockFileName.get(), rv));
|
||||
@ -267,8 +267,8 @@ nsresult nsReadConfig::readConfigFile()
|
||||
} // ReadConfigFile
|
||||
|
||||
|
||||
nsresult nsReadConfig::openAndEvaluateJSFile(const char *aFileName, PRBool isEncoded,
|
||||
PRInt32 obscureValue,
|
||||
nsresult nsReadConfig::openAndEvaluateJSFile(const char *aFileName, PRInt32 obscureValue,
|
||||
PRBool isEncoded,
|
||||
PRBool isBinDir)
|
||||
{
|
||||
nsresult rv;
|
||||
|
Loading…
Reference in New Issue
Block a user