finish flag was not set when passed on the first call to Compress

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3360 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-01-05 15:36:59 +00:00
parent 5391b3569f
commit 7cab89f05a

View file

@ -170,6 +170,7 @@ public:
if (!hCompressionThread)
{
DWORD dwThreadId;
finish = flush;
hCompressionThread = CreateThread(0, 0, lzmaCompressThread, (LPVOID) this, 0, &dwThreadId);
if (!hCompressionThread)
return -2;