X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Flib%2Frtl%2Fsplaytree.c;h=c315a72e7bb22100738c003ea3b6d7f578c042f9;hp=ecce34ffbff491dc2ef1872c483c8140feaac96e;hb=91bbe0cc1f2f944dfc8f474f076cd3f777afd2c0;hpb=98858edeba866aa2d009cd972d6af2fd5b5abd3b diff --git a/reactos/lib/rtl/splaytree.c b/reactos/lib/rtl/splaytree.c index ecce34ffbff..c315a72e7bb 100644 --- a/reactos/lib/rtl/splaytree.c +++ b/reactos/lib/rtl/splaytree.c @@ -255,13 +255,13 @@ RtlSplay(PRTL_SPLAY_LINKS Links) /* 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)) { }