mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
search_dom_stack(): Use dom_string_casecmp() for comparison
This commit is contained in:
parent
c4a1031b2e
commit
558e2736e4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user