http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d91fd8
)
winhelp: Remove extraneous positiveness check for unsigned variable in WINHELP_Handle...
author
Gerald Pfeifer
<gerald@pfeifer.com>
Sat, 3 May 2008 08:23:24 +0000
(10:23 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 5 May 2008 11:34:05 +0000
(13:34 +0200)
programs/winhelp/winhelp.c
patch
|
blob
|
blame
|
history
diff --git
a/programs/winhelp/winhelp.c
b/programs/winhelp/winhelp.c
index 51cebf7df4aafea4ef9757014fdab0176c91c374..ee2105363a6c907a12895f4e48f84e09475669f4 100644
(file)
--- 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
{