Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -39,8 +39,8 @@ treeDestroy(Tree * this, TreeAction action) |
39 | 39 | * If we come from the right so nothing and go to our |
40 | 40 | * next parent. |
41 | 41 | */ |
42 | - if (((NULL == TREE_LEFT(node) || previous == TREE_LEFT(node)) | |
43 | - && NULL == TREE_RIGHT(node)) | |
42 | + if (((NULL == TREE_LEFT(node) | |
43 | + || previous == TREE_LEFT(node)) && NULL == TREE_RIGHT(node)) | |
44 | 44 | || previous == TREE_RIGHT(node)) { |
45 | 45 | |
46 | 46 | Tree parent = TREE_PARENT(node); | ... | ... |
Please
register
or
login
to post a comment