1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-01 03:36:26 -04:00

search_dom_stack(): Use dom_string_casecmp() for comparison

This commit is contained in:
Jonas Fonseca 2005-12-22 22:28:38 +01:00 committed by Jonas Fonseca
parent c4a1031b2e
commit 558e2736e4

View File

@ -254,8 +254,7 @@ search_dom_stack(struct dom_stack *stack, enum dom_node_type type,
struct dom_node *parent = state->node;
if (parent->type == type
&& parent->string.length == string->length
&& !strncasecmp(parent->string.string, string->string, string->length))
&& !dom_string_casecmp(&parent->string, string))
return state;
}