winhlp32: Ensure Open dialog is modal

Nikolay Sivov bunglehead at gmail.com
Thu Jul 23 15:09:58 CDT 2009


Owen Rudge wrote:
> When selecting the Open option in winhlp32, the window would not have 
> an owner, and as such would not be modal. This patch passes the active 
> window's hWnd to GetOpenFileName, partially fixing bug 19081.
>
> ---
>  programs/winhlp32/winhelp.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
---
+ openfilename.hwndOwner = (Globals.active_win ? 
Globals.active_win->hMainWnd : 0);;
---

Hi, Owen. Please change ";;" to ";".





More information about the wine-devel mailing list