fixed compile errors without NSIS_CONFIG_COMPONENTPAGE, NSIS_CONFIG_PLUGIN_SUPPORT or NSIS_SUPPORT_HWNDS

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3352 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-01-04 17:25:59 +00:00
parent fcd2c16685
commit 21d8b1cd46
2 changed files with 5 additions and 3 deletions

View file

@ -2196,7 +2196,7 @@ int CEXEBuild::write_output(void)
DefineInnerLangString(NLF_UCAPTION);
if (resolve_coderefs("uninstall"))
return PS_ERROR;
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
#ifdef NSIS_CONFIG_COMPONENTPAGE
// set sections to the first insttype
PreperInstTypes();
#endif
@ -2214,7 +2214,7 @@ int CEXEBuild::write_output(void)
if (resolve_coderefs("install"))
return PS_ERROR;
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
#ifdef NSIS_CONFIG_COMPONENTPAGE
// set sections to the first insttype
PreperInstTypes();
#endif