Jacek Caban : hhctrl.ocx: Get rid of no longer needed hack.

Alexandre Julliard julliard at winehq.org
Fri Sep 28 11:39:04 CDT 2012


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Sep 28 14:21:25 2012 +0200

hhctrl.ocx: Get rid of no longer needed hack.

---

 dlls/hhctrl.ocx/help.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c
index 79e5e11..c884dc0 100644
--- a/dlls/hhctrl.ocx/help.c
+++ b/dlls/hhctrl.ocx/help.c
@@ -253,17 +253,12 @@ static BOOL AppendFullPathURL(LPCWSTR file, LPWSTR buf, LPCWSTR index)
 BOOL NavigateToChm(HHInfo *info, LPCWSTR file, LPCWSTR index)
 {
     WCHAR buf[INTERNET_MAX_URL_LENGTH];
-    LPWSTR ptr;
 
     TRACE("%p %s %s\n", info, debugstr_w(file), debugstr_w(index));
 
     if ((!info->web_browser) || !AppendFullPathURL(file, buf, index))
         return FALSE;
 
-    /* FIXME: HACK */
-    if((ptr = strchrW(buf, '#')))
-       *ptr = 0;
-
     return SUCCEEDED(navigate_url(info, buf));
 }
 




More information about the wine-cvs mailing list