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:
parent
a523c05626
commit
fa85ddb775
5 changed files with 7 additions and 7 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
#define NSDFUNC WINAPI
|
||||
|
||||
#define GetVar(vars, varlen, varid) ( (vars) + ((varid) * (varlen)) )
|
||||
#define DlgRet(hDlg, val) ( SetWindowLongPtr((hDlg), DWLP_MSGRESULT, (val)) | TRUE )
|
||||
#define StrToIntPtr nsishelper_str_to_ptr
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue