mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[RTL/AVL]
- Fix an inverted condition which resulted in incorrect assignment of NewElement var in RtlInsertElementGenericTableAvl(). svn path=/trunk/; revision=50784
This commit is contained in:
@@ -88,7 +88,7 @@ RtlInsertElementGenericTableFullAvl(IN PRTL_AVL_TABLE Table,
|
||||
}
|
||||
|
||||
/* Return status */
|
||||
if (NewElement) *NewElement = (SearchResult == TableFoundNode);
|
||||
if (NewElement) *NewElement = (SearchResult != TableFoundNode);
|
||||
|
||||
/* Return pointer to user data */
|
||||
return UserData;
|
||||
|
||||
Reference in New Issue
Block a user