winhelp: Remove extraneous positiveness check for unsigned variable in WINHELP_HandleTextMouse().

oldstable
Gerald Pfeifer 2008-05-03 10:23:24 +02:00 committed by Alexandre Julliard
parent 6d91fd8ce6
commit 49799ccb01
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ static BOOL WINHELP_HandleTextMouse(WINHELP_WINDOW* win, UINT msg, LPARAM lParam
{
if (link->window == -1)
wi = win->info;
else if ((link->window >= 0) && (link->window < hlpfile->numWindows))
else if (link->window < hlpfile->numWindows)
wi = &hlpfile->windows[link->window];
else
{