diff options
Diffstat (limited to 'contrib/delphi')
| -rw-r--r-- | contrib/delphi/ZLib.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/delphi/ZLib.pas b/contrib/delphi/ZLib.pas index 8853866a..b9d33e2d 100644 --- a/contrib/delphi/ZLib.pas +++ b/contrib/delphi/ZLib.pas | |||
| @@ -344,7 +344,7 @@ begin | |||
| 344 | strm.avail_out := OutBytes; | 344 | strm.avail_out := OutBytes; |
| 345 | DCheck(inflateInit_(strm, zlib_version, sizeof(strm))); | 345 | DCheck(inflateInit_(strm, zlib_version, sizeof(strm))); |
| 346 | try | 346 | try |
| 347 | while DCheck(inflate(strm, Z_FINISH)) <> Z_STREAM_END do | 347 | while DCheck(inflate(strm, Z_NO_FLUSH)) <> Z_STREAM_END do |
| 348 | begin | 348 | begin |
| 349 | P := OutBuf; | 349 | P := OutBuf; |
| 350 | Inc(OutBytes, BufInc); | 350 | Inc(OutBytes, BufInc); |
