don't enter message loop when window failed creation (because of input error or anything else)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5007 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c6caf04ec7
commit
089dfb7da9
1 changed files with 5 additions and 0 deletions
|
@ -112,6 +112,11 @@ void __declspec(dllexport) Show(HWND hwndParent, int string_size, char *variable
|
|||
{
|
||||
HWND hwStartMenuSelect = g_hwStartMenuSelect;
|
||||
|
||||
if (!hwStartMenuSelect)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
while (!g_done)
|
||||
{
|
||||
MSG msg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue