diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ephy-debug.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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; |