comparison 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
comparison
equal deleted inserted replaced
8389:79805011b78a 8390:f6a5348f7410
271 gboolean def = FALSE; 271 gboolean def = FALSE;
272 272
273 if((valuenode = xmlnode_get_child(fn, "value"))) 273 if((valuenode = xmlnode_get_child(fn, "value")))
274 value = xmlnode_get_data(valuenode); 274 value = xmlnode_get_data(valuenode);
275 275
276 if(value && (!g_strcasecmp(value, "yes") || 276 if(value && (!g_ascii_strcasecmp(value, "yes") ||
277 !g_strcasecmp(value, "true") || !g_strcasecmp(value, "1"))) 277 !g_ascii_strcasecmp(value, "true") || !g_ascii_strcasecmp(value, "1")))
278 def = TRUE; 278 def = TRUE;
279 279
280 field = gaim_request_field_bool_new(var, label, def); 280 field = gaim_request_field_bool_new(var, label, def);
281 gaim_request_field_group_add_field(group, field); 281 gaim_request_field_group_add_field(group, field);
282 282