fixed bug #1038255 - CopyFiles usage checking problem

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3688 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-10-01 09:57:01 +00:00
parent 0c5cabbed4
commit a4b59e7bec

View file

@ -4124,6 +4124,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
else if (line.gettoken_str(a)[0]=='/') PRINTHELP()
else break;
}
if (line.getnumtokens() < a+2) PRINTHELP()
ent.offsets[0]=add_string(line.gettoken_str(a));
ent.offsets[1]=add_string(line.gettoken_str(a+1));
int s;