From 02de188fee6fbfa24e3f6af476052dd2ab5cc0cc Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 7 Oct 2005 15:45:08 +0000 Subject: [PATCH] no need for 'SectionIn RO' to be case sensitive git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4311 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 4021801b..fcd18aa7 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -2991,7 +2991,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line) for (wt = 1; wt < line.getnumtokens(); wt ++) { char *p=line.gettoken_str(wt); - if (p[0]=='R' && p[1]=='O') + if (!stricmp(p, "RO")) { if (section_add_flags(SF_RO) != PS_OK) return PS_ERROR; SCRIPT_MSG("[RO] ");