use new section name space
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3868 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c70cfb5ac2
commit
f558c99c2c
3 changed files with 38 additions and 27 deletions
|
@ -1461,7 +1461,7 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
|||
if (!parm2)
|
||||
{
|
||||
// getting text
|
||||
GetNSISString(var1,res);
|
||||
mystrcpy(var1,sec->name);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1479,9 +1479,13 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
|||
}
|
||||
else
|
||||
{
|
||||
// setting text, send the message to do it
|
||||
SendMessage(g_SectionHack,WM_NOTIFY_SECTEXT,x,parm1);
|
||||
// setting text
|
||||
GetNSISString(sec->name,parm4);
|
||||
sec->flags|=SF_NAMECHG;
|
||||
// parm1 is zero so name_ptr will be set to zero
|
||||
// if name_ptr is zero, it won't be used after .onInit
|
||||
}
|
||||
|
||||
((int*)sec)[parm2]=parm1;
|
||||
|
||||
if (parm3) // update flags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue