Permalink
Browse files

Fixes typo in HklTree

Closes #123
  • Loading branch information...
1 parent e90819b commit a3772e473ab802f5581ab02f6fbd1b3e6d8b24cd @cknadler cknadler committed Jan 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hkl_tree.c
View
2 src/hkl_tree.c
@@ -207,7 +207,7 @@ static HklTreeNode* hkl_treenode_fixup(HklTreeNode* node)
if (hkl_treenode_isred(node->left) && hkl_treenode_isred(node->left->left))
node = hkl_treenode_rotright(node);
- if (hkl_treenode_isred(node->left) && hkl_treenode_isred(node->left))
+ if (hkl_treenode_isred(node->left))
hkl_treenode_colorflip(node);
return node;

0 comments on commit a3772e4

Please sign in to comment.