hhctrl.ocx: Get rid of no longer needed hack.
This commit is contained in:
parent
7417e7b65a
commit
7917d917ba
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue