Hin-Tak Leung : hhctrl.ocx: Return help window handle to caller.

Alexandre Julliard julliard at winehq.org
Thu Apr 17 07:38:43 CDT 2008


Module: wine
Branch: master
Commit: 76299b37ea61c23faa429c1489ba2952a5aa86ad
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=76299b37ea61c23faa429c1489ba2952a5aa86ad

Author: Hin-Tak Leung <htl10 at users.sourceforge.net>
Date:   Wed Apr 16 01:03:49 2008 +0000

hhctrl.ocx: Return help window handle to caller.

---

 dlls/hhctrl.ocx/hhctrl.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/hhctrl.ocx/hhctrl.c b/dlls/hhctrl.ocx/hhctrl.c
index 472b7cf..c0054de 100644
--- a/dlls/hhctrl.ocx/hhctrl.c
+++ b/dlls/hhctrl.ocx/hhctrl.c
@@ -132,8 +132,7 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
             if(!res)
                 ReleaseHelpViewer(info);
         }
-
-        return NULL; /* FIXME */
+        return info->WinType.hwndHelp;
     }
     case HH_HELP_CONTEXT: {
         HHInfo *info;
@@ -149,8 +148,7 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
 
         NavigateToUrl(info, url);
         heap_free(url);
-
-        return NULL; /* FIXME */
+        return info->WinType.hwndHelp;
     }
     case HH_PRETRANSLATEMESSAGE: {
         static BOOL warned = FALSE;




More information about the wine-cvs mailing list