* TBufDataset.Locate now takes active index into account, bug #14979

git-svn-id: trunk@15236 -
This commit is contained in:
joost 2010-05-06 14:20:53 +00:00
parent e3045406f6
commit ba47f2f4a1

View File

@ -2880,7 +2880,7 @@ begin
Result := True;
break;
end;
CurrLinkItem := CurrLinkItem^.next;
CurrLinkItem := CurrLinkItem[(FCurrentIndex as TDoubleLinkedBufIndex).IndNr].next;
if CurrLinkItem = (FCurrentIndex as TDoubleLinkedBufIndex).FLastRecBuf then
getnextpacket;
end;