made "unpacking dialog" dialog only come up when the main installer window hasnt' been created yet.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1100 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5b66661b0a
commit
d493729c2f
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ static int NSISCALL __ensuredata(int amount)
|
||||||
m_pos=m_length-(amount-(dbd_size-dbd_pos));
|
m_pos=m_length-(amount-(dbd_size-dbd_pos));
|
||||||
while (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) DispatchMessage(&msg);
|
while (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) DispatchMessage(&msg);
|
||||||
}
|
}
|
||||||
else if (GetTickCount() > verify_time)
|
else if (g_hwnd && GetTickCount() > verify_time)
|
||||||
hwnd=CreateDialogParam(
|
hwnd=CreateDialogParam(
|
||||||
g_hInstance,
|
g_hInstance,
|
||||||
MAKEINTRESOURCE(IDD_VERIFY),
|
MAKEINTRESOURCE(IDD_VERIFY),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue