comctl32: Remove check which never triggers.
This commit is contained in:
parent
c3ff4ddcff
commit
7b306c57bd
|
@ -2582,8 +2582,6 @@ ImageList_SetImageCount (HIMAGELIST himl, UINT iImageCount)
|
|||
|
||||
if (!is_valid(himl))
|
||||
return FALSE;
|
||||
if (iImageCount < 0)
|
||||
return FALSE;
|
||||
if (himl->cMaxImage > iImageCount)
|
||||
{
|
||||
himl->cCurImage = iImageCount;
|
||||
|
|
Loading…
Reference in New Issue