- Fixed a crash caused by clicking cancel on a directory page (thanks pengyou)

- Fixed some extraction progress issues


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2900 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-09-11 20:46:20 +00:00
parent 9186fcc291
commit 8380534b1d
3 changed files with 9 additions and 6 deletions

View file

@ -396,7 +396,6 @@ nextPage:
m_page+=m_delta;
this_page+=m_delta;
g_this_page=this_page;
#ifdef NSIS_SUPPORT_CODECALLBACKS
if (m_page==g_blocks[NB_PAGES].num) ExecuteCodeSegment(g_header->code_onInstSuccess,NULL);
@ -452,6 +451,9 @@ nextPage:
return 0;
}
// update g_this_page for the dialog proc
g_this_page=this_page;
if (this_page->dlg_id > 0) // NSIS page
{
m_curwnd=CreateDialogParam(