- Correct which entry was being modified.
authorAlex Ionescu <aionescu@gmail.com>
Mon, 7 Nov 2005 21:17:49 +0000 (21:17 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Mon, 7 Nov 2005 21:17:49 +0000 (21:17 +0000)
svn path=/trunk/; revision=19044

reactos/lib/rtl/unicodeprefix.c

index 0740078..1d31e69 100644 (file)
@@ -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 */