mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Fix node pushing in walk_dom_nodes()
This commit is contained in:
parent
22e647813e
commit
cc61578fcb
@ -420,7 +420,7 @@ walk_dom_nodes(struct dom_stack *stack, struct dom_node *root)
|
|||||||
if (is_dom_node_list_member(list, wstate->index)) {
|
if (is_dom_node_list_member(list, wstate->index)) {
|
||||||
struct dom_node *child = list->entries[wstate->index++];
|
struct dom_node *child = list->entries[wstate->index++];
|
||||||
|
|
||||||
if (push_dom_node(stack, child))
|
if (push_dom_node(stack, child) == DOM_STACK_CODE_OK)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user