Yet more case insensitivity

svn path=/trunk/netsurf/; revision=9549
This commit is contained in:
John Mark Bell 2009-09-06 22:49:32 +00:00
parent a3d57f2c3c
commit d442d4ff9f

View File

@ -955,7 +955,7 @@ css_error node_has_attribute_equal(void *pw, void *node,
if (attr != NULL) {
*match = strlen((const char *) attr) ==
lwc_string_length(value) &&
strncmp((const char *) attr,
strncasecmp((const char *) attr,
lwc_string_data(value),
lwc_string_length(value)) == 0;
xmlFree(attr);