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

This commit is contained in:
Jacek Caban 2012-09-28 14:21:25 +02:00 committed by Alexandre Julliard
parent 7417e7b65a
commit 7917d917ba
1 changed files with 0 additions and 5 deletions

View File

@ -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));
}