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:
kichik 2003-04-23 15:40:59 +00:00
parent 3e3062508e
commit b9232e643c

View file

@ -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.