Calling show after a failed initDialog caused a freeze.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3488 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4bd2132d6a
commit
2fed742279
2 changed files with 4 additions and 4 deletions
|
@ -1334,9 +1334,8 @@ extern "C" void __declspec(dllexport) dialog(HWND hwndParent, int string_size,
|
||||||
pushstring("error");
|
pushstring("error");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (createCfgDlg()) {
|
if (createCfgDlg())
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
popstring(NULL);
|
popstring(NULL);
|
||||||
showCfgDlg();
|
showCfgDlg();
|
||||||
}
|
}
|
||||||
|
@ -1350,8 +1349,9 @@ extern "C" void __declspec(dllexport) initDialog(HWND hwndParent, int string_siz
|
||||||
pushstring("error");
|
pushstring("error");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (createCfgDlg())
|
||||||
|
return;
|
||||||
initCalled++;
|
initCalled++;
|
||||||
createCfgDlg();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void __declspec(dllexport) show(HWND hwndParent, int string_size,
|
extern "C" void __declspec(dllexport) show(HWND hwndParent, int string_size,
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue