Next button text is now always added when needed, instfiles dialog is destroyed when needed.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1832 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-11-25 16:50:05 +00:00
parent 1aeb327658
commit 1a865438f0
4 changed files with 27 additions and 18 deletions

View file

@ -537,7 +537,10 @@ nextPage:
EnableWindow(m_hwndOK,1);
if (this_page->id!=NSIS_PAGE_COMPLETED) DestroyWindow(m_curwnd);
else if (g_autoclose) goto nextPage;
else {
if (g_autoclose) goto nextPage;
return 0;
}
mystrcpy(g_tmp,g_caption);
process_string_fromtab(g_tmp+mystrlen(g_tmp),this_page->caption);