added space for section name to make it possible to parse it immediately when setting it and not only when the components page is present
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3866 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c94087d68f
commit
3bef7a5d67
1 changed files with 3 additions and 1 deletions
|
@ -343,15 +343,17 @@ enum
|
|||
#define SF_EXPAND 32
|
||||
#define SF_PSELECTED 64
|
||||
#define SF_TOGGLED 128
|
||||
#define SF_NAMECHG 256
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int name_ptr; // '' for non-optional components
|
||||
int name_ptr; // initial name pointer
|
||||
int install_types; // bits set for each of the different install_types, if any.
|
||||
int flags; // SF_* - defined above
|
||||
int code;
|
||||
int code_size;
|
||||
int size_kb;
|
||||
char name[NSIS_MAX_STRLEN]; // '' for invisible sections
|
||||
} section;
|
||||
|
||||
#define SECTION_OFFSET(field) (FIELD_OFFSET(section, field)/sizeof(int))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue