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:
kichik 2005-01-14 15:11:20 +00:00
parent c94087d68f
commit 3bef7a5d67

View file

@ -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))