Author: fireball
Date: Fri Feb 18 09:48:13 2011
New Revision: 50784
URL:
http://svn.reactos.org/svn/reactos?rev=50784&view=rev
Log:
[RTL/AVL]
- Fix an inverted condition which resulted in incorrect assignment of NewElement var in
RtlInsertElementGenericTableAvl().
Modified:
trunk/reactos/lib/rtl/avltable.c
Modified: trunk/reactos/lib/rtl/avltable.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/avltable.c?rev=507…
==============================================================================
--- trunk/reactos/lib/rtl/avltable.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/avltable.c [iso-8859-1] Fri Feb 18 09:48:13 2011
@@ -88,7 +88,7 @@
}
/* Return status */
- if (NewElement) *NewElement = (SearchResult == TableFoundNode);
+ if (NewElement) *NewElement = (SearchResult != TableFoundNode);
/* Return pointer to user data */
return UserData;