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:
+1
-1
@@ -197,7 +197,7 @@ void PackUnix::pack(OutputFile *fo)
|
||||
updateLoader(fo);
|
||||
|
||||
// finally check compression ratio
|
||||
if (!Packer::checkCompressionRatio(fo->getBytesWritten(), ph.u_len))
|
||||
if (!Packer::checkCompressionRatio(ph.u_len, fo->getBytesWritten()))
|
||||
throwNotCompressible();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user