From 0c11506eb57f1b9f7c56c22d99ffb3323a7eb511 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 5 Oct 2007 09:01:06 +0000 Subject: [PATCH] only accept two parameters to Var if the first one is /GLOBAL git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5316 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/script.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/script.cpp b/Source/script.cpp index 0a4b92d5..e291e1f4 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -5546,6 +5546,10 @@ int CEXEBuild::doCommand(int which_token, LineParser &line) { a++; } + else if (line.getnumtokens() == 3) + { + PRINTHELP(); + } if (build_cursection) {