verify correct offset in TOK_GETCURINSTTYPE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5424 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0f9d87a2c4
commit
8decf5cd9f
1 changed files with 1 additions and 1 deletions
|
@ -5492,7 +5492,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
ent.offsets[1]=GetUserVarIndex(line,1);
|
||||
ent.offsets[2]=0;
|
||||
ent.offsets[3]=1;
|
||||
if (line.gettoken_str(1)[0] && ent.offsets[0]<0) PRINTHELP()
|
||||
if (line.gettoken_str(1)[0] && ent.offsets[1]<0) PRINTHELP()
|
||||
SCRIPT_MSG("GetCurInstType: %s\n",line.gettoken_str(1));
|
||||
return add_entry(&ent);
|
||||
#else//!NSIS_CONFIG_COMPONENTPAGE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue