Commit 7917d917 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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

parent 7417e7b6
......@@ -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));
}
......
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