mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
fix minor bug
This commit is contained in:
parent
4984bba80e
commit
05069a0a19
@ -738,7 +738,7 @@ Wallet_SetKey(PRBool isNewkey) {
|
||||
}
|
||||
|
||||
char * newkey;
|
||||
if (wallet_KeySize() == 0) {
|
||||
if ((wallet_KeySize() == 0) && !isNewkey) {
|
||||
newkey = PL_strdup("");
|
||||
} else {
|
||||
newkey = wallet_GetString(password);
|
||||
|
Loading…
Reference in New Issue
Block a user