mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: FZipLump passed the uncompressed lump size to ShrinkLoop as size of the input data but this must be the compressed size.
SVN r1589 (trunk)
This commit is contained in:
parent
cef12aac6d
commit
c0d2f78b2a
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ int FZipLump::FillCache()
|
|||
|
||||
case METHOD_SHRINK:
|
||||
{
|
||||
ShrinkLoop((unsigned char *)Cache, LumpSize, Owner->Reader, LumpSize);
|
||||
ShrinkLoop((unsigned char *)Cache, LumpSize, Owner->Reader, CompressedSize);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue