Use a undocumented variable as the nsDialogs::OnNotify return value so we don't have to worry about restoring it

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7055 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2018-11-27 22:36:58 +00:00
parent a523c05626
commit fa85ddb775
5 changed files with 7 additions and 7 deletions

View file

@ -415,9 +415,7 @@ Header file for creating custom installer pages with nsDialogs
!define NSD_Return "!insertmacro NSD_Return "
!macro NSD_Return val
!if "${val}" != "$0"
StrCpy $0 ${val}
!endif
StrCpy $_OUTDIR ${val}
SetSilent silent
Return
!macroend