winhlp32: Fixed some cases where winhlp32 didn't shutdown as expected.

This commit is contained in:
Eric Pouech 2009-06-27 08:34:45 +02:00 committed by Alexandre Julliard
parent cef7e04f18
commit a99ab94cc5

View file

@ -1736,7 +1736,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
WINHELP_GetWindowInfo(hlpfile, wndname), show);
/* Message loop */
while (GetMessage(&msg, 0, 0, 0))
while ((Globals.win_list || Globals.active_popup) && GetMessage(&msg, 0, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);