- Fix bug in case 2/4 denomination.
Modified: trunk/reactos/lib/rtl/splaytree.c

Modified: trunk/reactos/lib/rtl/splaytree.c
--- trunk/reactos/lib/rtl/splaytree.c	2005-11-08 23:40:37 UTC (rev 19074)
+++ trunk/reactos/lib/rtl/splaytree.c	2005-11-08 23:42:40 UTC (rev 19075)
@@ -255,13 +255,13 @@
         /* Case 2 & 4: N is right child of P */
         else
         {
-            /* Case 2: P is the left child of G */
-            if (RtlIsLeftChild(P))
+            /* Case 2: P is the right child of G */
+            if (RtlIsRightChild(P))
             {
 
             }
-            /* Case 4: P is the right child of G */
-            else if (RtlIsRightChild(P))
+            /* Case 4: P is the left child of G */
+            else if (RtlIsLeftChild(P))
             {
 
             }