94 bytes saved. LangString should now work with sub-sections too.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1270 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-10-02 15:01:06 +00:00
parent f170a4d2f8
commit 3d1c70f375
7 changed files with 93 additions and 79 deletions

View file

@ -309,7 +309,7 @@ void CEXEBuild::FillDefaultsIfNeeded(StringTable *table, NLF *nlf/*=0*/) {
char c;
if (sec->name_ptr < 0) c = 'a';
else c=build_strlist.get()[sec->name_ptr];
if (c && c != '-' && !(sec->default_state&DFS_RO)) iscp++;
if (c && c != '-' && !(sec->flags&SF_RO)) iscp++;
}
if (iscp)
{