Module: wine Branch: master Commit: 395acfc545413fc048b7532e11e6fc8f3ac1de9c URL: http://source.winehq.org/git/wine.git/?a=commit;h=395acfc545413fc048b7532e11...
Author: Owen Rudge owen@owenrudge.net Date: Thu Jul 23 17:18:57 2009 -0300
winhlp32: Ensure Open dialog is modal.
---
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 56244d3..4c2d1ff 100644 --- a/programs/winhlp32/winhelp.c +++ b/programs/winhlp32/winhelp.c @@ -167,7 +167,7 @@ BOOL WINHELP_GetOpenFileName(LPSTR lpszFile, int len) lpszFile[0]='\0';
openfilename.lStructSize = sizeof(OPENFILENAME); - openfilename.hwndOwner = NULL; + openfilename.hwndOwner = (Globals.active_win ? Globals.active_win->hMainWnd : 0); openfilename.hInstance = Globals.hInstance; openfilename.lpstrFilter = szzFilter; openfilename.lpstrCustomFilter = 0;