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:
kichik 2007-03-20 22:28:55 +00:00
parent c6caf04ec7
commit 089dfb7da9

View file

@ -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;