[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:
Richard Wilson 2005-01-27 22:54:59 +00:00
parent b645f64e5e
commit b6ba963b9a
1 changed files with 1 additions and 1 deletions

View File

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