Commit 395acfc5 authored by Owen Rudge's avatar Owen Rudge Committed by Alexandre Julliard

winhlp32: Ensure Open dialog is modal.

parent 59e59c6b
...@@ -167,7 +167,7 @@ BOOL WINHELP_GetOpenFileName(LPSTR lpszFile, int len) ...@@ -167,7 +167,7 @@ BOOL WINHELP_GetOpenFileName(LPSTR lpszFile, int len)
lpszFile[0]='\0'; lpszFile[0]='\0';
openfilename.lStructSize = sizeof(OPENFILENAME); openfilename.lStructSize = sizeof(OPENFILENAME);
openfilename.hwndOwner = NULL; openfilename.hwndOwner = (Globals.active_win ? Globals.active_win->hMainWnd : 0);
openfilename.hInstance = Globals.hInstance; openfilename.hInstance = Globals.hInstance;
openfilename.lpstrFilter = szzFilter; openfilename.lpstrFilter = szzFilter;
openfilename.lpstrCustomFilter = 0; openfilename.lpstrCustomFilter = 0;
......
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