From 7cab89f05a7fd6d871d2686d8797376e22eccda6 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 5 Jan 2004 15:36:59 +0000 Subject: [PATCH] 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 --- Source/clzma.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/clzma.h b/Source/clzma.h index 5a7a6d22..739a28b6 100644 --- a/Source/clzma.h +++ b/Source/clzma.h @@ -170,6 +170,7 @@ public: if (!hCompressionThread) { DWORD dwThreadId; + finish = flush; hCompressionThread = CreateThread(0, 0, lzmaCompressThread, (LPVOID) this, 0, &dwThreadId); if (!hCompressionThread) return -2;