From 2f4d9ad3464ad56d0a15bf81c91c5fca8119479f Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 8 Sep 2007 21:01:13 +0000 Subject: [PATCH] missing null terminator git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5271 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/script.cpp b/Source/script.cpp index f2ad0a83..a1cb43e9 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -3573,7 +3573,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line) ent.which=EW_SETFLAG; ent.offsets[0]=FLAG_OFFSET(alter_reg_view); // "64" results in setting the flag to 1 which alters the view - int k=line.gettoken_enum(1,"32\0" "64\0lastused"); + int k=line.gettoken_enum(1,"32\0" "64\0lastused\0"); if (k<0) PRINTHELP() if (k == 0) // 32 ent.offsets[1]=add_intstring(0);