changeset 8390:f6a5348f7410

[gaim-migrate @ 9119] Stu Tomlinson reminded me that g_strcasecmp is deprecated. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 02 Mar 2004 17:12:47 +0000
parents 79805011b78a
children 45d1e3ed5a86
files src/protocols/jabber/xdata.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/xdata.c	Tue Mar 02 16:44:00 2004 +0000
+++ b/src/protocols/jabber/xdata.c	Tue Mar 02 17:12:47 2004 +0000
@@ -273,8 +273,8 @@
 			if((valuenode = xmlnode_get_child(fn, "value")))
 				value = xmlnode_get_data(valuenode);
 
-			if(value && (!g_strcasecmp(value, "yes") ||
-						!g_strcasecmp(value, "true") || !g_strcasecmp(value, "1")))
+			if(value && (!g_ascii_strcasecmp(value, "yes") ||
+						!g_ascii_strcasecmp(value, "true") || !g_ascii_strcasecmp(value, "1")))
 				def = TRUE;
 
 			field = gaim_request_field_bool_new(var, label, def);