aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-debug.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index eb71cf616..e4953725c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-10-09 Christian Persch <chpe@cvs.gnome.org>
+ * lib/ephy-debug.c:
+
+ Search the needle in the haystack, not the other way 'round.
+
+2005-10-09 Christian Persch <chpe@cvs.gnome.org>
+
* lib/ephy-debug.c:
Fix logging.
diff --git a/lib/ephy-debug.c b/lib/ephy-debug.c
index 33eaf803c..be8af70c7 100644
--- a/lib/ephy-debug.c
+++ b/lib/ephy-debug.c
@@ -84,7 +84,7 @@ log_module (const gchar *log_domain,
for (i = 0; ephy_log_modules[i] != NULL; i++)
{
- if (strstr (ephy_log_modules [i], message) != NULL)
+ if (strstr (message, ephy_log_modules [i]) != NULL)
{
should_log = TRUE;
break;