Compiles without NSIS_SUPPORT_CODECALLBACKS again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2487 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3e3062508e
commit
b9232e643c
1 changed files with 3 additions and 1 deletions
|
@ -410,9 +410,11 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
this_page=g_inst_page+m_page;
|
||||
|
||||
if (m_page>=0) {
|
||||
#ifdef NSIS_SUPPORT_CODECALLBACKS
|
||||
// Call leave function. If Abort used don't move to the next page.
|
||||
if (m_delta==1) if (ExecuteCodeSegment(this_page->leavefunc,NULL)) return 1;
|
||||
|
||||
#endif
|
||||
|
||||
// if the last page was a custom page, wait for it to finish by itself.
|
||||
// if it doesn't, it's a BAD plugin.
|
||||
// plugins should react to WM_NOTIFY_OUTER_NEXT.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue