Mercurial > pidgin.yaz
diff src/protocols/jabber/xdata.c @ 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 | 680aa8e0543e |
children | 387ba791d5f9 |
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);