From 519bb0f50a78a912373748dd21df6d8c6fa10c74 Mon Sep 17 00:00:00 2001 From: kichik Date: Sun, 25 May 2003 13:02:00 +0000 Subject: [PATCH] Section -name working again git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2566 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 b68e685e..5ef70cb3 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -2202,7 +2202,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char int ret; if (line.gettoken_str(a)[0]=='-') ret=add_section("",curfilename,linecnt,line.gettoken_str(a+1)); - ret=add_section(line.gettoken_str(a),curfilename,linecnt,line.gettoken_str(a+1)); + else ret=add_section(line.gettoken_str(a),curfilename,linecnt,line.gettoken_str(a+1)); if (ret != PS_OK) return ret; if (unselected)