Now compiles without NSIS_CONFIG_SILENT_SUPPORT too

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1014 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-09-16 12:48:43 +00:00
parent 8b6bc224dc
commit 5df4745792

View file

@ -252,7 +252,10 @@ static int NSISCALL __ensuredata(int amount)
DWORD r,t;
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
if (g_inst_cmnheader)
if (!g_inst_cmnheader->silent_install) {
#ifdef NSIS_CONFIG_SILENT_SUPPORT
if (!g_inst_cmnheader->silent_install)
#endif
{
if (hwnd) {
static MSG msg;
m_pos=m_length-(amount-(dbd_size-dbd_pos));