From c0000719f8b8e0595b4bba8495d740874ffb0d43 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 17 May 2004 13:16:19 +0000 Subject: Fix observer topic check for cookie "cleared" notification. 2004-05-17 Christian Persch * embed/mozilla/EphySingle.cpp: Fix observer topic check for cookie "cleared" notification. --- ChangeLog | 6 ++++++ embed/mozilla/EphySingle.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef68fdbac..d622f7ec4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-05-17 Christian Persch + + * embed/mozilla/EphySingle.cpp: + + Fix observer topic check for cookie "cleared" notification. + 2004-05-15 Christian Persch * 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") -- cgit v1.2.3