CallInstDLL without /NOUNLOAD now works
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@833 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0d82e85746
commit
e8825c3dab
1 changed files with 3 additions and 1 deletions
|
@ -2029,8 +2029,10 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char
|
|||
else if (which_token == TOK_CALLINSTDLL)
|
||||
{
|
||||
int a = 2;
|
||||
if (!stricmp(line.gettoken_str(a++), "/NOUNLOAD"))
|
||||
if (!stricmp(line.gettoken_str(a), "/NOUNLOAD")) {
|
||||
ent.offsets[3]=1;
|
||||
a++;
|
||||
}
|
||||
if (a+1 != line.getnumtokens()) PRINTHELP();
|
||||
ent.offsets[1]=add_string(line.gettoken_str(a));
|
||||
if (ent.offsets[1]<0) PRINTHELP()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue