Forráskód Böngészése

* Fix error out of bounds

Michaël Van Canneyt 1 éve
szülő
commit
cdda954ea7
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      packages/fpindexer/src/fpindexer.pp

+ 1 - 1
packages/fpindexer/src/fpindexer.pp

@@ -828,7 +828,7 @@ begin
 
   if FCount=0 then
     exit;
-  AddNewRankedItem(ResultList[i]);
+  AddNewRankedItem(ResultList[0]);
   for i := 1 to FCount - 1 do
   begin
     if SameRank(I,FRankedCount-1)  then