fixed non solid compression using bzip2 or lzma
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3359 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d79b582a67
commit
5391b3569f
2 changed files with 14 additions and 2 deletions
|
@ -159,7 +159,13 @@ public:
|
|||
int Compress(BOOL flush)
|
||||
{
|
||||
if (compressor_finished)
|
||||
return -1;
|
||||
{
|
||||
// act like zlib when it comes to stream ending
|
||||
if (flush)
|
||||
return C_OK;
|
||||
else
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!hCompressionThread)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue