Gerald Pfeifer : winhelp: Remove extraneous positiveness check for unsigned variable in WINHELP_HandleTextMouse ().
Alexandre Julliard
julliard at winehq.org
Mon May 5 07:14:55 CDT 2008
Module: wine
Branch: master
Commit: 49799ccb01ef7d6c8c0ffc32f0574acb869b2934
URL: http://source.winehq.org/git/wine.git/?a=commit;h=49799ccb01ef7d6c8c0ffc32f0574acb869b2934
Author: Gerald Pfeifer <gerald at 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
{
More information about the wine-cvs
mailing list