size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4254 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0bca3c8255
commit
8e3f7ed623
4 changed files with 11 additions and 7 deletions
|
@ -194,8 +194,7 @@ const char * NSISCALL loadHeaders(int cl_flags)
|
|||
{
|
||||
if (hwnd)
|
||||
{
|
||||
MSG msg;
|
||||
while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) DispatchMessage(&msg);
|
||||
MessageLoop(0);
|
||||
}
|
||||
else if (GetTickCount() > verify_time)
|
||||
hwnd = CreateDialogParam(
|
||||
|
@ -450,9 +449,8 @@ static int NSISCALL __ensuredata(int amount)
|
|||
{
|
||||
if (hwnd)
|
||||
{
|
||||
MSG msg;
|
||||
m_pos=m_length-(amount-(dbd_size-dbd_pos));
|
||||
while (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) DispatchMessage(&msg);
|
||||
MessageLoop(0);
|
||||
}
|
||||
else if (GetTickCount() > verify_time)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue