- Oops.. fix a bug in RtlRemoveUnicodePrefix: edit the parent, not the entry itself.
Modified: trunk/reactos/lib/rtl/unicodeprefix.c

Modified: trunk/reactos/lib/rtl/unicodeprefix.c
--- trunk/reactos/lib/rtl/unicodeprefix.c	2005-11-07 22:05:46 UTC (rev 19046)
+++ trunk/reactos/lib/rtl/unicodeprefix.c	2005-11-07 22:07:08 UTC (rev 19047)
@@ -433,12 +433,12 @@
             else if (RtlIsLeftChild(&PrefixTableEntry->Links))
             {
                 /* We were the left child, so make us as well */
-                PrefixTableEntry->Links.LeftChild = &Entry->Links;
+                RtlParent(&PrefixTableEntry->Links)->LeftChild = &Entry->Links;
             }
             else
             {
                 /* We were the right child, so make us as well */
-                PrefixTableEntry->Links.RightChild = &Entry->Links;
+                RtlParent(&PrefixTableEntry->Links)->RightChild = &Entry->Links;
             }
 
             /* Check if we have a left child */