Owen Rudge : winhlp32: Ensure Open dialog is modal.
Alexandre Julliard
julliard at winehq.org
Fri Jul 24 08:49:30 CDT 2009
Module: wine
Branch: master
Commit: 395acfc545413fc048b7532e11e6fc8f3ac1de9c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=395acfc545413fc048b7532e11e6fc8f3ac1de9c
Author: Owen Rudge <owen at 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;
More information about the wine-cvs
mailing list