changed parameters on dlls to be pushed rtl instead of ltr (updating plugins now)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1119 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
895e5b7763
commit
ceaf3dfead
1 changed files with 4 additions and 1 deletions
|
@ -3570,9 +3570,12 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char
|
||||||
}
|
}
|
||||||
|
|
||||||
// First push dll args
|
// First push dll args
|
||||||
|
|
||||||
|
int parmst=i; // we push em in reverse order
|
||||||
for (; i < line.getnumtokens(); i++) {
|
for (; i < line.getnumtokens(); i++) {
|
||||||
|
int w=parmst + (line.getnumtokens()-i - 1);
|
||||||
ent.which=EW_PUSHPOP;
|
ent.which=EW_PUSHPOP;
|
||||||
ent.offsets[0]=add_string(line.gettoken_str(i));
|
ent.offsets[0]=add_string(line.gettoken_str(w));
|
||||||
ent.offsets[1]=0;
|
ent.offsets[1]=0;
|
||||||
ret=add_entry(&ent);
|
ret=add_entry(&ent);
|
||||||
if (ret != PS_OK) return ret;
|
if (ret != PS_OK) return ret;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue