mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
fix bug in last checkin, r=dp
This commit is contained in:
parent
f1b2ac2588
commit
ab0d9ea3a7
@ -595,9 +595,10 @@ wallet_GetEnabledPref(void)
|
||||
{
|
||||
/* This pref is not in the prefs panel. It's purpose is to remove wallet from all UI */
|
||||
static PRBool first_time = PR_TRUE;
|
||||
static PRBool enabled = PR_FALSE;
|
||||
static PRBool enabled = PR_TRUE;
|
||||
if (first_time) {
|
||||
PRBool x = SI_GetBoolPref(pref_enabled, PR_FALSE);
|
||||
first_time = PR_FALSE;
|
||||
PRBool x = SI_GetBoolPref(pref_enabled, PR_TRUE);
|
||||
enabled = x;
|
||||
}
|
||||
return enabled;
|
||||
|
Loading…
Reference in New Issue
Block a user