Module: wine Branch: master Commit: 49799ccb01ef7d6c8c0ffc32f0574acb869b2934 URL: http://source.winehq.org/git/wine.git/?a=commit;h=49799ccb01ef7d6c8c0ffc32f0... Author: Gerald Pfeifer <gerald(a)pfeifer.com> Date: Sat May 3 10:23:24 2008 +0200 winhelp: Remove extraneous positiveness check for unsigned variable in WINHELP_HandleTextMouse(). --- programs/winhelp/winhelp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/programs/winhelp/winhelp.c b/programs/winhelp/winhelp.c index 51cebf7..ee21053 100644 --- a/programs/winhelp/winhelp.c +++ b/programs/winhelp/winhelp.c @@ -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 {