From 848c1e4785826281d15e7432eff2756c297c0e55 Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 7 Nov 2002 15:18:39 +0000 Subject: [PATCH] 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 --- Source/build.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/build.cpp b/Source/build.cpp index 73342d8e..78a764a0 100644 --- a/Source/build.cpp +++ b/Source/build.cpp @@ -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 (iid==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; }