mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-30 01:55:30 +00:00
Compile fix
This commit is contained in:
parent
054fb15ff0
commit
ce2aa08cb1
|
@ -745,7 +745,7 @@ match_element_selector(struct dom_select_node *selector, struct dom_node *node)
|
||||||
if (has_element_match(selector, DOM_SELECT_ELEMENT_ROOT)
|
if (has_element_match(selector, DOM_SELECT_ELEMENT_ROOT)
|
||||||
&& node->parent) {
|
&& node->parent) {
|
||||||
if (node->parent->type != DOM_NODE_DOCUMENT
|
if (node->parent->type != DOM_NODE_DOCUMENT
|
||||||
|| node->parent->children->size > 1)
|
|| node->parent->data.document.children->size > 1)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user