mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 02:59:28 +02:00
* see also r31267, mantis #28289, change calculation.
git-svn-id: trunk@31381 -
This commit is contained in:
parent
989afc6ecb
commit
5d2a54136a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user