From d22a95c092b87ad574dadaa91167912a963aa528 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 9 Oct 2005 21:33:55 +0000 Subject: Search the needle in the haystack, not the other way 'round. 2005-10-09 Christian Persch * lib/ephy-debug.c: Search the needle in the haystack, not the other way 'round. --- lib/ephy-debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit