* SetOnCompare didn't assign AValue to FOnCompare when Count was 0

git-svn-id: trunk@14921 -
This commit is contained in:
ivost 2010-02-17 23:56:11 +00:00
parent ab2aa8f88d
commit c7db625bd0
2 changed files with 2 additions and 3 deletions

View File

@ -1034,7 +1034,8 @@ begin
finally
FreeMem(List);
end;
end;
end else
FOnCompare:=AValue;
end;
procedure TAVLTree.SetNodeManager(newmgr:TBaseAVLTreeNodeManager);

View File

@ -903,8 +903,6 @@ begin
else Exit(False);
end;
//writeln(Len, ', ', IntToHex(Num,16));
case Num of
$30,
$65736C6166,$65736C6146,$65736C4166,$65736C4146,$65734C6166,$65734C6146,$65734C4166,$65734C4146,