From 36f66459357bfa623f7cc3bbbce0231c19efe2cb Mon Sep 17 00:00:00 2001 From: wizou Date: Wed, 14 Apr 2010 16:27:00 +0000 Subject: [PATCH] Added comments, and removed unused #include git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6056 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Main.c | 1 - Source/exehead/exec.c | 1 - Source/exehead/fileform.h | 1 + Source/script.cpp | 1 + 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/exehead/Main.c b/Source/exehead/Main.c index 5a18eed2..214bed9c 100644 --- a/Source/exehead/Main.c +++ b/Source/exehead/Main.c @@ -18,7 +18,6 @@ #include "../Platform.h" #include -#include #include "resource.h" #include "util.h" #include "fileform.h" diff --git a/Source/exehead/exec.c b/Source/exehead/exec.c index ed56bc06..5de07ae1 100644 --- a/Source/exehead/exec.c +++ b/Source/exehead/exec.c @@ -18,7 +18,6 @@ #include "../Platform.h" #include -#include #include "fileform.h" #include "util.h" #include "state.h" diff --git a/Source/exehead/fileform.h b/Source/exehead/fileform.h index ffb5fa45..fe652cb8 100644 --- a/Source/exehead/fileform.h +++ b/Source/exehead/fileform.h @@ -28,6 +28,7 @@ // firstheader (struct firstheader) // * headers (compressed together): // header (struct header - contains pointers to all blocks) +// * nsis blocks (described in header->blocks) // pages (struct page) // section headers (struct section) // entries/instructions (struct entry) diff --git a/Source/script.cpp b/Source/script.cpp index af32954f..3bf2ee77 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -5252,6 +5252,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line) } if (which_token == TOK_WRITEREGBIN) { + // Jim Park: Keep the data as char / 8 bits char data[3*NSIS_MAX_STRLEN]; TCHAR *p=line.gettoken_str(4); int data_len=0;