changeset 17020:220b1e21d336

merge of '084705c60880befcc4532b30e0b4a41fc2ed563e' and '266c74ed03b70b35fa03fb4f01f5c90a2fb710e3'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 11 May 2007 02:34:29 +0000
parents 47a9ba4f4373 (diff) a0ab4040a857 (current diff)
children d6e855aedc30
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntdebug.c	Fri May 11 00:39:50 2007 +0000
+++ b/finch/gntdebug.c	Fri May 11 02:34:29 2007 +0000
@@ -54,9 +54,9 @@
 	const char *str = gnt_entry_get_text(GNT_ENTRY(debug.search));
 	if (!str || !*str)
 		return TRUE;
-	if (g_ascii_strcasecmp(str, category) == 0)
+	if (g_strrstr(category, str) != NULL)
 		return TRUE;
-	if (g_ascii_strcasecmp(str, args) == 0)
+	if (g_strrstr(args, str) != NULL)
 		return TRUE;
 	return FALSE;
 }