small bug fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@646 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
31ad4513e9
commit
3e5c7a1299
2 changed files with 2 additions and 2 deletions
|
@ -1621,7 +1621,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char
|
|||
if (line.getnumtokens()!=a+2) PRINTHELP();
|
||||
int s;
|
||||
int w=line.gettoken_int(a,&s);
|
||||
if (!s || w < 0 || w > 2) PRINTHELP()
|
||||
if (!s || w < 0 || w > 4) PRINTHELP()
|
||||
SetString(line.gettoken_str(a+1),NLF_SUBCAPTION_LICENSE+w,1,lang);
|
||||
SCRIPT_MSG("SubCaption: page:%d, text=%s\n",w,line.gettoken_str(a+1));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue