* see also r31267, mantis #28289, change calculation.

git-svn-id: trunk@31381 -
This commit is contained in:
marco 2015-08-24 12:03:56 +00:00
parent 989afc6ecb
commit 5d2a54136a

View File

@ -1257,7 +1257,7 @@ begin
R := FCount-1;
while L<=R do
begin
I := (L+R) div 2;
I := L + (R - L) div 2;
Dir := FOnKeyPtrCompare(Items[I], AKey);
if Dir < 0 then
L := I+1