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
This commit is contained in:
kichik 2005-10-07 15:45:08 +00:00
parent 21816d8036
commit 02de188fee

View file

@ -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] ");