Commit 49799ccb authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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

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