fixed SetCompressor handling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3993 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
25073d7e15
commit
245bc39dc2
1 changed files with 3 additions and 2 deletions
|
@ -2459,16 +2459,17 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
||||||
|
|
||||||
while (line.gettoken_str(a)[0] == '/')
|
while (line.gettoken_str(a)[0] == '/')
|
||||||
{
|
{
|
||||||
if (!strcmpi(line.gettoken_str(1),"/FINAL"))
|
if (!strcmpi(line.gettoken_str(a),"/FINAL"))
|
||||||
{
|
{
|
||||||
build_compressor_final = true;
|
build_compressor_final = true;
|
||||||
a++;
|
a++;
|
||||||
}
|
}
|
||||||
else if (!strcmpi(line.gettoken_str(1),"/SOLID"))
|
else if (!strcmpi(line.gettoken_str(a),"/SOLID"))
|
||||||
{
|
{
|
||||||
build_compress_whole = true;
|
build_compress_whole = true;
|
||||||
a++;
|
a++;
|
||||||
}
|
}
|
||||||
|
else PRINTHELP();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (a != line.getnumtokens() - 1)
|
if (a != line.getnumtokens() - 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue