EnumRegKey/Value output_var check fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2223 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
90b11cdccc
commit
8d60e504f3
1 changed files with 1 additions and 1 deletions
|
@ -3485,7 +3485,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char
|
|||
ent.offsets[0]=line.gettoken_enum(1,usrvars);
|
||||
int k=line.gettoken_enum(2,rootkeys[0]);
|
||||
if (k == -1) k=line.gettoken_enum(2,rootkeys[1]);
|
||||
if (!ent.offsets[0] || k == -1) PRINTHELP()
|
||||
if (ent.offsets[0] == -1 || k == -1) PRINTHELP()
|
||||
ent.offsets[1]=(int)rootkey_tab[k];
|
||||
ent.offsets[2]=add_string(line.gettoken_str(3));
|
||||
ent.offsets[3]=add_string(line.gettoken_str(4));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue