From 5be3ac92ba11f8bdd2f778f39f310826ae850e33 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 13 Sep 2002 15:04:08 +0000 Subject: [PATCH] Macros output back to normal git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@997 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 304b0d75..26a8a9ed 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -414,7 +414,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char char *p=str; str[0]=0; fgets(str,MAX_LINELENGTH,fp); - SCRIPT_MSG("%s\n", str); + SCRIPT_MSG("%s%s", str, str[lstrlen(str)-1]=='\n'?"":"\n"); if (feof(fp) && !str[0]) { ERROR_MSG("!macro \"%s\": unterminated (no !macroend found in file)!\n",line.gettoken_str(1));