From 4e487ad99c4dc50dfcee55c2ab7a0fe552fe81c9 Mon Sep 17 00:00:00 2001 From: eccles Date: Mon, 2 Sep 2002 23:00:04 +0000 Subject: [PATCH] DeleteRegKey now complains if given a third parameter (other than /ifempty) git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@878 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/script.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/script.cpp b/Source/script.cpp index 521f5d13..0d42349f 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -2901,6 +2901,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char a++; ent.offsets[3]=1; } + if (line.gettoken_str(a+2)[0]) PRINTHELP() } int k=line.gettoken_enum(a,rootkeys[0]); if (k == -1) k=line.gettoken_enum(a,rootkeys[1]);