From: Alex Ionescu Date: Mon, 7 Nov 2005 21:17:49 +0000 (+0000) Subject: - Correct which entry was being modified. X-Git-Tag: backups/ros-branch-0_2_9@19949~854 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=214e15e351dbd3195e92ee782019d47190af3f4d;hp=9009aaf27ccc191081ae6ddf028477927eea57d0 - Correct which entry was being modified. svn path=/trunk/; revision=19044 --- diff --git a/reactos/lib/rtl/unicodeprefix.c b/reactos/lib/rtl/unicodeprefix.c index 0740078eb51..1d31e69fe57 100644 --- a/reactos/lib/rtl/unicodeprefix.c +++ b/reactos/lib/rtl/unicodeprefix.c @@ -269,12 +269,12 @@ RtlRemoveUnicodePrefix(PUNICODE_PREFIX_TABLE PrefixTable, else if (RtlIsLeftChild(&PrefixTableEntry->Links)) { /* We were the left child, so make us as well */ - Entry->Links.LeftChild = &Entry->Links; + PrefixTableEntry->Links.LeftChild = &Entry->Links; } else { /* We were the right child, so make us as well */ - Entry->Links.RightChild = &Entry->Links; + PrefixTableEntry->Links.RightChild = &Entry->Links; } /* Check if we have a left child */