Eric Pouech : winhlp32: Fixed some cases where winhlp32 didn' t shutdown as expected.
Alexandre Julliard
julliard at winehq.org
Mon Jun 29 09:17:38 CDT 2009
Module: wine
Branch: master
Commit: a99ab94cc5110d55f8aee0f314be9bff174615c5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a99ab94cc5110d55f8aee0f314be9bff174615c5
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sat Jun 27 08:34:45 2009 +0200
winhlp32: Fixed some cases where winhlp32 didn't shutdown as expected.
---
programs/winhlp32/winhelp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c
index 08d3875..56244d3 100644
--- a/programs/winhlp32/winhelp.c
+++ b/programs/winhlp32/winhelp.c
@@ -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);
More information about the wine-cvs
mailing list