mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
hhctrl.ocx: Remove some dead code.
This condition is inside the switch block for HH_DISPLAY_SEARCH, so it can never evaluate to true.
This commit is contained in:
parent
abad7f4f76
commit
28f9129000
@ -119,11 +119,6 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
|
||||
filename = chm_file;
|
||||
index += 2; /* advance beyond "::" for calling NavigateToChm() later */
|
||||
}
|
||||
else
|
||||
{
|
||||
if (command!=HH_DISPLAY_SEARCH) /* FIXME - use HH_FTS_QUERYW structure in data */
|
||||
index = (const WCHAR*)data;
|
||||
}
|
||||
|
||||
info = CreateHelpViewer(filename);
|
||||
if(!info)
|
||||
|
Loading…
Reference in New Issue
Block a user