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:
kichik 2005-09-09 15:21:45 +00:00
parent 0bca3c8255
commit 8e3f7ed623
4 changed files with 11 additions and 7 deletions

View file

@ -842,9 +842,7 @@ static int NSISCALL ExecuteEntry(entry *entry_)
DWORD lExitCode;
while (WaitForSingleObject(hProc,100) == WAIT_TIMEOUT)
{
MSG msg;
while (PeekMessage(&msg,NULL,WM_PAINT,WM_PAINT,PM_REMOVE))
DispatchMessage(&msg);
MessageLoop(WM_PAINT);
}
GetExitCodeProcess(hProc, &lExitCode);