Author: pschweitzer
Date: Thu Oct 16 13:21:05 2008
New Revision: 36771
URL:
http://svn.reactos.org/svn/reactos?rev=36771&view=rev
Log:
Apply fix at the right place.......
Modified:
branches/pierre-fsd/lib/rtl/generictable.c
Modified: branches/pierre-fsd/lib/rtl/generictable.c
URL:
http://svn.reactos.org/svn/reactos/branches/pierre-fsd/lib/rtl/generictable…
==============================================================================
--- branches/pierre-fsd/lib/rtl/generictable.c [iso-8859-1] (original)
+++ branches/pierre-fsd/lib/rtl/generictable.c [iso-8859-1] Thu Oct 16 13:21:05 2008
@@ -352,7 +352,7 @@
else
{
/* Otherwise, try using the real successor */
- FoundNode = RtlRealSuccessor(*RestartKey);
+ FoundNode = RtlRealSuccessor(Table->TableRoot);
if (FoundNode) Table->TableRoot = RtlSplay(FoundNode);
}
@@ -390,7 +390,7 @@
else
{
/* Otherwise, try using the real successor */
- FoundNode = RtlRealSuccessor(Table->TableRoot);
+ FoundNode = RtlRealSuccessor(*RestartKey);
if (FoundNode) *RestartKey = FoundNode;
}