aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/GtkNSSSecurityWarningDialogs.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ad1a9d29e..6615da06a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-20 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp:
+
+ Do return on failure.
+
2006-02-16 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-window.c: (ephy_window_state_event):
diff --git a/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp b/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
index fe87b192f..384c41905 100644
--- a/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
+++ b/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
@@ -229,7 +229,7 @@ GtkNSSSecurityWarningDialogs::DoDialog (nsIInterfaceRequestor *aContext,
AutoJSContextStack stack;
rv = stack.Init ();
- if (NS_FAILED (rv));
+ if (NS_FAILED (rv)) return;
/* Didn't you know it, mozilla SUCKS!
* the "aContext" interface requestor is made from a nsIDOMWindow,