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
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user