1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Fix node pushing in walk_dom_nodes()

This commit is contained in:
Jonas Fonseca 2006-01-20 02:07:24 +01:00 committed by Jonas Fonseca
parent 22e647813e
commit cc61578fcb

View File

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