Added Packer::checkFinalCompressionRatio().

committer: mfx <mfx> 976775892 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-12-14 06:38:12 +00:00
parent f751473195
commit 8ef3beb6c6
13 changed files with 79 additions and 32 deletions
+2 -2
View File
@@ -1902,8 +1902,8 @@ void PackW32Pe::pack(OutputFile *fo)
// copy the overlay
copyOverlay(fo, overlay, &obuf);
// finally check compresion ratio
if (!checkCompressionRatio(file_size, fo->getBytesWritten()))
// finally check the compression ratio
if (!checkFinalCompressionRatio(fo))
throwNotCompressible();
}