Swapped the parameters in Packer::checkCompressionRatio() - all functions

now have the uncompressed size before the compressed size in the
parameter list.

committer: mfx <mfx> 974917952 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-11-22 18:32:32 +00:00
parent 7a5b0a09e0
commit 2e6c03690f
6 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -1915,7 +1915,7 @@ void PackW32Pe::pack(OutputFile *fo)
copyOverlay(fo, overlay, &obuf);
// finally check compresion ratio
if (!checkCompressionRatio(fo->getBytesWritten(), file_size))
if (!checkCompressionRatio(file_size, fo->getBytesWritten()))
throwNotCompressible();
}