mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:09:31 +02:00
* set result of tdecompressionstream.seek by Danny Milosavljevic, resolves #12830
git-svn-id: trunk@12431 -
This commit is contained in:
parent
de5861c689
commit
ff205c6e90
@ -329,6 +329,11 @@ begin
|
||||
if (origin=sofrombeginning) or
|
||||
((origin=sofromcurrent) and (offset+raw_read>=0)) then
|
||||
begin
|
||||
if origin = sofromcurrent then
|
||||
seek := compressed_read - offset
|
||||
else
|
||||
seek := offset;
|
||||
|
||||
if origin=sofrombeginning then
|
||||
dec(offset,raw_read);
|
||||
if offset<0 then
|
||||
|
Loading…
Reference in New Issue
Block a user