Gerald Pfeifer : comctl32: Remove extraneous check (unsigned < 0).
Alexandre Julliard
julliard at winehq.org
Mon Dec 3 09:17:46 CST 2007
Module: wine
Branch: master
Commit: a20f4a6bbf89270beace5cbb524f8f14b43ac44a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a20f4a6bbf89270beace5cbb524f8f14b43ac44a
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Dec 1 00:44:09 2007 +0100
comctl32: Remove extraneous check (unsigned < 0).
---
dlls/comctl32/header.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/header.c b/dlls/comctl32/header.c
index 64403fc..cd144e2 100644
--- a/dlls/comctl32/header.c
+++ b/dlls/comctl32/header.c
@@ -981,7 +981,7 @@ HEADER_CreateDragImage (HWND hwnd, WPARAM wParam)
int height, width;
HFONT hFont;
- if (wParam < 0 || wParam >= infoPtr->uNumItem)
+ if (wParam >= infoPtr->uNumItem)
return FALSE;
if (!infoPtr->bRectsValid)
More information about the wine-cvs
mailing list