fixed 24114 - password fields showing the real text
git-svn-id: svn://10.0.0.236/trunk@58005 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -558,7 +558,7 @@ nsTextEditRules::WillInsertText(nsIDOMSelection *aSelection,
|
||||
// do text insertion
|
||||
PRBool bCancel;
|
||||
char newlineChar[] = {'\n',0};
|
||||
nsString theString(*aInString); // copy instring for now
|
||||
nsString theString(*aOutString); // copy instring for now
|
||||
|
||||
while (theString.Length())
|
||||
{
|
||||
|
||||
@@ -558,7 +558,7 @@ nsTextEditRules::WillInsertText(nsIDOMSelection *aSelection,
|
||||
// do text insertion
|
||||
PRBool bCancel;
|
||||
char newlineChar[] = {'\n',0};
|
||||
nsString theString(*aInString); // copy instring for now
|
||||
nsString theString(*aOutString); // copy instring for now
|
||||
|
||||
while (theString.Length())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user