| 958 return &null_parse_tree; |
958 return &null_parse_tree; |
| 959 |
959 |
| 960 tc = tree_child(ptree,0)->contents; |
960 tc = tree_child(ptree,0)->contents; |
| 961 |
961 |
| 962 /* g_strcasecmp() is deprecated. What is the encoding here??? */ |
962 /* g_strcasecmp() is deprecated. What is the encoding here??? */ |
| 963 if (ptree->num_children > 0 && tc && !g_strcasecmp(tc, key)) { |
963 if (ptree->num_children > 0 && tc && !g_ascii_strcasecmp(tc, key)) { |
| 964 return ptree; |
964 return ptree; |
| 965 } else { |
965 } else { |
| 966 parse_tree *result = &null_parse_tree; |
966 parse_tree *result = &null_parse_tree; |
| 967 int i; |
967 int i; |
| 968 for(i = 0; i < ptree->num_children; i++) { |
968 for(i = 0; i < ptree->num_children; i++) { |