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; }