Shows the license button even when no page are between the license page and the install log page.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1611 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-11-07 15:18:39 +00:00
parent 8f3a279527
commit 848c1e4785

View file

@ -1357,12 +1357,12 @@ int CEXEBuild::write_output(void)
p->next=LANG_BTN_NEXT;
#ifdef NSIS_CONFIG_LICENSEPAGE
if (p->id==NSIS_PAGE_LICENSE)
p->next=LANG_BTN_LICENSE;
#endif
if (i<build_header.common.num_pages-1 && (p+1)->id==NSIS_PAGE_INSTFILES)
p->next=LANG_BTN_INSTALL;
#ifdef NSIS_CONFIG_LICENSEPAGE
if (p->id==NSIS_PAGE_LICENSE)
p->next=LANG_BTN_LICENSE;
#endif
if (p->id==NSIS_PAGE_INSTFILES || p->id==NSIS_PAGE_COMPLETED)
p->back=1;
}