mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- Oops.. fix a bug in RtlRemoveUnicodePrefix: edit the parent, not the entry itself.
svn path=/trunk/; revision=19047
This commit is contained in:
parent
9810da1c6a
commit
e57c6af315
1 changed files with 2 additions and 2 deletions
|
@ -433,12 +433,12 @@ RtlRemoveUnicodePrefix(PUNICODE_PREFIX_TABLE PrefixTable,
|
||||||
else if (RtlIsLeftChild(&PrefixTableEntry->Links))
|
else if (RtlIsLeftChild(&PrefixTableEntry->Links))
|
||||||
{
|
{
|
||||||
/* We were the left child, so make us as well */
|
/* We were the left child, so make us as well */
|
||||||
PrefixTableEntry->Links.LeftChild = &Entry->Links;
|
RtlParent(&PrefixTableEntry->Links)->LeftChild = &Entry->Links;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* We were the right child, so make us as well */
|
/* 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 */
|
/* Check if we have a left child */
|
||||||
|
|
Loading…
Reference in a new issue