mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
fix bug 252436, non-ascii characters not recognized by master password dialog
r=dbaron, sr=shaver
This commit is contained in:
parent
15be8751e1
commit
f242eb6db4
@ -206,7 +206,7 @@ PK11PasswordPrompt(PK11SlotInfo* slot, PRBool retry, void* arg) {
|
||||
}
|
||||
|
||||
if (NS_SUCCEEDED(rv) && value) {
|
||||
char* str = ToNewCString(nsDependentString(password));
|
||||
char* str = ToNewUTF8String(nsDependentString(password));
|
||||
Recycle(password);
|
||||
return str;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user