[project @ 2005-01-27 22:54:59 by rjw]
Recursing deleted nodes is foolish svn path=/import/netsurf/; revision=1472
This commit is contained in:
parent
b645f64e5e
commit
b6ba963b9a
|
@ -848,7 +848,7 @@ void tree_delete_selected_nodes(struct tree *tree, struct node *node) {
|
|||
next = node->next;
|
||||
if ((node->selected) && (node != tree->root))
|
||||
tree_delete_node(tree, node, false);
|
||||
if (node->child)
|
||||
else if (node->child)
|
||||
tree_delete_selected_nodes(tree, node->child);
|
||||
node = next;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue