winhlp32: Ensure Open dialog is modal.

This commit is contained in:
Owen Rudge 2009-07-23 17:18:57 -03:00 committed by Alexandre Julliard
parent 59e59c6bf9
commit 395acfc545

View file

@ -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;