comctl32: Remove extraneous check (unsigned < 0).

This commit is contained in:
Gerald Pfeifer 2007-12-01 00:44:09 +01:00 committed by Alexandre Julliard
parent 99d14ada78
commit a20f4a6bbf
1 changed files with 1 additions and 1 deletions

View File

@ -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)