verify correct offset in TOK_GETFULLPATHNAME
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5425 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8decf5cd9f
commit
ee4a2444ce
1 changed files with 1 additions and 1 deletions
|
@ -4872,7 +4872,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
ent.offsets[0]=add_string(line.gettoken_str(2+a));
|
||||
ent.offsets[1]=GetUserVarIndex(line, 1+a);
|
||||
ent.offsets[2]=!a;
|
||||
if (ent.offsets[0]<0) PRINTHELP()
|
||||
if (ent.offsets[1]<0) PRINTHELP()
|
||||
SCRIPT_MSG("GetFullPathName: %s->%s (%d)\n",
|
||||
line.gettoken_str(2+a),line.gettoken_str(1+a),a?"sfn":"lfn");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue