diff --git a/Source/script.cpp b/Source/script.cpp index 1bcc55e4..064c584e 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -2614,7 +2614,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char if (s) { void *buf; - buf=(void*)GlobalAlloc(GPTR,s); + buf=(void *)GlobalAlloc(GPTR,s); if (buf) { UINT uLen; @@ -3225,7 +3225,6 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char #ifdef NSIS_SUPPORT_REBOOT case TOK_REBOOT: ent.which=EW_REBOOT; - ent.offsets[0]=0xbadf00d; SCRIPT_MSG("Reboot! (WOW)\n"); return add_entry(&ent); case TOK_IFREBOOTFLAG: