made ExpandEnvStrings set the error flag as the documentation says it should
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3953 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
033500e72a
commit
106939c165
1 changed files with 5 additions and 1 deletions
|
@ -599,7 +599,11 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
|||
}
|
||||
else
|
||||
{
|
||||
ExpandEnvironmentStrings(buf0,p,NSIS_MAX_STRLEN);
|
||||
if (!ExpandEnvironmentStrings(buf0,p,NSIS_MAX_STRLEN))
|
||||
{
|
||||
exec_error++;
|
||||
*p=0;
|
||||
}
|
||||
}
|
||||
p[NSIS_MAX_STRLEN-1]=0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue