1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00

Compile fix

This commit is contained in:
Jonas Fonseca 2005-12-24 13:07:57 +01:00 committed by Jonas Fonseca
parent 054fb15ff0
commit ce2aa08cb1

View File

@ -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;
}