From ceaf3dfead47e4a46a9e6bd1aa8af86408df9025 Mon Sep 17 00:00:00 2001 From: justin1014 Date: Sat, 21 Sep 2002 18:37:25 +0000 Subject: [PATCH] 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 --- Source/script.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/script.cpp b/Source/script.cpp index c9dc3eb4..ffa357cc 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -3570,9 +3570,12 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char } // First push dll args + + int parmst=i; // we push em in reverse order for (; i < line.getnumtokens(); i++) { + int w=parmst + (line.getnumtokens()-i - 1); 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; ret=add_entry(&ent); if (ret != PS_OK) return ret;