diff --git a/mozilla/embedding/browser/gtk/src/GtkPromptService.cpp b/mozilla/embedding/browser/gtk/src/GtkPromptService.cpp index b008c60c791..78bbad6a3ec 100644 --- a/mozilla/embedding/browser/gtk/src/GtkPromptService.cpp +++ b/mozilla/embedding/browser/gtk/src/GtkPromptService.cpp @@ -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);