Module: wine Branch: master Commit: 7b306c57bd5184e3cae55d7a29c51d24af51546a URL: http://source.winehq.org/git/wine.git/?a=commit;h=7b306c57bd5184e3cae55d7a29...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Wed Nov 14 22:14:20 2007 +0100
comctl32: Remove check which never triggers.
---
dlls/comctl32/imagelist.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c index c604abc..660edde 100644 --- a/dlls/comctl32/imagelist.c +++ b/dlls/comctl32/imagelist.c @@ -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;