winhlp32: Fixed some cases where winhlp32 didn't shutdown as expected.
This commit is contained in:
parent
cef7e04f18
commit
a99ab94cc5
|
@ -1736,7 +1736,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
|
||||||
WINHELP_GetWindowInfo(hlpfile, wndname), show);
|
WINHELP_GetWindowInfo(hlpfile, wndname), show);
|
||||||
|
|
||||||
/* Message loop */
|
/* Message loop */
|
||||||
while (GetMessage(&msg, 0, 0, 0))
|
while ((Globals.win_list || Globals.active_popup) && GetMessage(&msg, 0, 0, 0))
|
||||||
{
|
{
|
||||||
TranslateMessage(&msg);
|
TranslateMessage(&msg);
|
||||||
DispatchMessage(&msg);
|
DispatchMessage(&msg);
|
||||||
|
|
Loading…
Reference in New Issue