- 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:
Christoph Oelckers 2009-05-16 10:06:39 +00:00
parent cef12aac6d
commit c0d2f78b2a

View file

@ -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;
}