Commit a20f4a6b authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

comctl32: Remove extraneous check (unsigned < 0).

parent 99d14ada
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment