bug 265607 check *aConfirm instead of aConfirm
patch by Christian Persch <chpe@gnome.org> r=marco sr=roc a=asa git-svn-id: svn://10.0.0.236/trunk@179134 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9cc83139fb
commit
75f8708f83
@ -186,7 +186,7 @@ GtkPromptService::Prompt(nsIDOMWindow* aParent, const PRUnichar* aDialogTitle,
|
||||
if (aCheckValue)
|
||||
prompter.GetCheckValue(aCheckValue);
|
||||
prompter.GetConfirmValue(aConfirm);
|
||||
if (aConfirm) {
|
||||
if (*aConfirm) {
|
||||
if (*aValue)
|
||||
nsMemory::Free(*aValue);
|
||||
prompter.GetTextValue(aValue);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user