mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05: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)
|
||||
&& node->parent) {
|
||||
if (node->parent->type != DOM_NODE_DOCUMENT
|
||||
|| node->parent->children->size > 1)
|
||||
|| node->parent->data.document.children->size > 1)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user