mirror of
https://github.com/reactos/reactos.git
synced 2026-06-04 10:20:48 +08:00
[COMCTL32] Fix an incorrect returned value for ImageList_Remove
Thanks goes to Kyle Katarn. Had to make a commit myself due to author's account being deleted. Signed-off-by: Kyle Katarn <contact@kcsoftwares.com>
This commit is contained in:
@@ -4196,7 +4196,7 @@ ImageList_Remove (HIMAGELIST himl, INT i)
|
||||
{
|
||||
IImageList2* piml = IImageList2_from_impl(himl);
|
||||
if (!piml)
|
||||
return -1;
|
||||
return FALSE;
|
||||
|
||||
return (piml->lpVtbl->Remove(piml, i) == S_OK) ? TRUE : FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user