diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/EphySingle.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2004-05-17 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/EphySingle.cpp: + + Fix observer topic check for cookie "cleared" notification. + 2004-05-15 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_value_from_editable), diff --git a/embed/mozilla/EphySingle.cpp b/embed/mozilla/EphySingle.cpp index fee0eeb5b..939cc2fd9 100644 --- a/embed/mozilla/EphySingle.cpp +++ b/embed/mozilla/EphySingle.cpp @@ -146,7 +146,7 @@ NS_IMETHODIMP EphySingle::Observe(nsISupports *aSubject, rv = EmitCookieNotification ("cookie-changed", aSubject); } /* "cleared" */ - else if (aData[0] == 'c' && aData[2] == 'l') + else if (aData[0] == 'c' && aData[1] == 'l') { LOG ("EphySingle::cookie-changed::cleared") |