Commit a99ab94c authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

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

parent cef7e04f
...@@ -1736,7 +1736,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment