Now *really* only shows the unpacking dialog if the NSIS window hasn't been created yet

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1115 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
eccles 2002-09-21 17:17:14 +00:00
parent 6cde9f63d5
commit 602430bedb

View file

@ -260,7 +260,7 @@ static int NSISCALL __ensuredata(int amount)
m_pos=m_length-(amount-(dbd_size-dbd_pos));
while (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) DispatchMessage(&msg);
}
else if (GetWindowLong(g_hwnd,GWL_WNDPROC) != (long)DialogProc && GetTickCount() > verify_time)
else if (GetWindowLong(g_hwnd,DWL_DLGPROC) != (long)DialogProc && GetTickCount() > verify_time)
hwnd=CreateDialogParam(
g_hInstance,
MAKEINTRESOURCE(IDD_VERIFY),