Commit fde4e4b6 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

winhelp: Remove a dead condition.

parent 7165d726
......@@ -1219,7 +1219,7 @@ static LRESULT CALLBACK WINHELP_TextWndProc(HWND hWnd, UINT msg, WPARAM wParam,
hlpfile = WINHELP_LookupHelpFile(part->link->lpszString);
if (part->link->window == -1)
wi = win->info;
else if ((part->link->window >= 0) && (part->link->window < hlpfile->numWindows))
else if (part->link->window < hlpfile->numWindows)
wi = &hlpfile->windows[part->link->window];
else
{
......
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