projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
708dbb8
)
[RTL/AVL]
author
Aleksey Bragin
<aleksey@reactos.org>
Fri, 18 Feb 2011 09:48:13 +0000
(09:48 +0000)
committer
Aleksey Bragin
<aleksey@reactos.org>
Fri, 18 Feb 2011 09:48:13 +0000
(09:48 +0000)
- Fix an inverted condition which resulted in incorrect assignment of NewElement var in RtlInsertElementGenericTableAvl().
svn path=/trunk/; revision=50784
reactos/lib/rtl/avltable.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/avltable.c
b/reactos/lib/rtl/avltable.c
index
acfb99d
..
6578a71
100644
(file)
--- a/
reactos/lib/rtl/avltable.c
+++ b/
reactos/lib/rtl/avltable.c
@@
-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;