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
@@ -361,7 +361,7 @@ void PackLinuxI386elf::pack(OutputFile *fo)
updateLoader(fo);
// finally check compression ratio
if (!super::checkCompressionRatio(fo->getBytesWritten(), ph.u_len))
if (!super::checkCompressionRatio(ph.u_len, fo->getBytesWritten()))
throwNotCompressible();
}