- All message boxes in code now have a default for silent installers
- Some size optimizations git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3221 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0139636e18
commit
f6ebb29045
9 changed files with 101 additions and 117 deletions
|
@ -95,12 +95,10 @@ DWORD WINAPI lzmaDecompressThread(LPVOID lpParameter)
|
|||
lzmaDecodeder->Create((LPBYTE) lzmaState->DynamicData,
|
||||
numLiteralContextBits, numLiteralPosStateBits, numPosStateBits);
|
||||
|
||||
UINT32 dictionarySize = 0;
|
||||
for (int i = 0; i < 4; i++)
|
||||
dictionarySize += ((UINT32)properties[1 + i]) << (i * 8);
|
||||
if (lzmaState->Dictionary == 0 || dictionarySize != lzmaState->DictionarySize)
|
||||
UINT32 dictionarySize = *(UINT32 *)(properties + 1);
|
||||
if (dictionarySize != lzmaState->DictionarySize)
|
||||
{
|
||||
if (lzmaState->Dictionary != 0)
|
||||
if (lzmaState->Dictionary)
|
||||
LZMAFree(lzmaState->Dictionary);
|
||||
lzmaState->Dictionary = LZMAAlloc(dictionarySize);
|
||||
lzmaState->DictionarySize = dictionarySize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue