Commit 7b306c57 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

comctl32: Remove check which never triggers.

parent c3ff4ddc
...@@ -2582,8 +2582,6 @@ ImageList_SetImageCount (HIMAGELIST himl, UINT iImageCount) ...@@ -2582,8 +2582,6 @@ ImageList_SetImageCount (HIMAGELIST himl, UINT iImageCount)
if (!is_valid(himl)) if (!is_valid(himl))
return FALSE; return FALSE;
if (iImageCount < 0)
return FALSE;
if (himl->cMaxImage > iImageCount) if (himl->cMaxImage > iImageCount)
{ {
himl->cCurImage = iImageCount; himl->cCurImage = iImageCount;
......
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