- Fix bug in case 2/4 denomination.

svn path=/trunk/; revision=19075
This commit is contained in:
Alex Ionescu 2005-11-08 23:42:40 +00:00
parent 98858edeba
commit 91bbe0cc1f

View file

@ -255,13 +255,13 @@ RtlSplay(PRTL_SPLAY_LINKS Links)
/* Case 2 & 4: N is right child of P */ /* Case 2 & 4: N is right child of P */
else else
{ {
/* Case 2: P is the left child of G */ /* Case 2: P is the right child of G */
if (RtlIsLeftChild(P)) if (RtlIsRightChild(P))
{ {
} }
/* Case 4: P is the right child of G */ /* Case 4: P is the left child of G */
else if (RtlIsRightChild(P)) else if (RtlIsLeftChild(P))
{ {
} }