fix bug 252436, non-ascii characters not recognized by master password dialog

r=dbaron, sr=shaver
This commit is contained in:
kaie%kuix.de 2005-11-03 11:25:53 +00:00
parent 15be8751e1
commit f242eb6db4

View File

@ -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;
}