Nameless sections also have to be selected to be counted as required
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7313 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
ded87462dc
commit
56331beada
1 changed files with 1 additions and 1 deletions
|
@ -2795,7 +2795,7 @@ retry_output:
|
|||
if (PAGE_COMPLETED != PAGE_INSTFILES && np) --np; // Special page not part of count
|
||||
INFO_MSG(_T("%d page%") NPRIs _T(" (%d bytes), "),np,np==1?_T(""):_T("s"),np*sizeof(page));
|
||||
#endif
|
||||
#define IsRequiredSection(s) ( !(s).name_ptr || (((s).flags & (SF_RO|SF_SELECTED)) == (SF_RO|SF_SELECTED)))
|
||||
#define IsRequiredSection(s) ( (!(s).name_ptr && ((s).flags & SF_SELECTED)) || (((s).flags & (SF_RO|SF_SELECTED)) == (SF_RO|SF_SELECTED)))
|
||||
{
|
||||
int ns=build_sections.getlen()/sizeof(section), x;
|
||||
section *s=(section*)build_sections.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue