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:
kichik 2007-12-21 22:28:04 +00:00
parent 8decf5cd9f
commit ee4a2444ce

View file

@ -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");
}