mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +02:00
* Patch from José Mejuto so that TBufDataset.SetRecNo takes the active index into account, bug #15460
git-svn-id: trunk@16257 -
This commit is contained in:
parent
3aea9b134a
commit
ef8837cfa8
@ -2257,7 +2257,7 @@ begin
|
||||
end;
|
||||
TmpRecBuffer := (FCurrentIndex as TDoubleLinkedBufIndex).FFirstRecBuf;
|
||||
for recnr := 1 to value-1 do
|
||||
TmpRecBuffer := TmpRecBuffer^.next;
|
||||
TmpRecBuffer := TmpRecBuffer[FCurrentIndex.IndNr].next;
|
||||
GotoBookmark(@TmpRecBuffer);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user