mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00: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:
parent
48d9c07894
commit
1cf1892b14
1 changed files with 1 additions and 1 deletions
|
@ -4196,7 +4196,7 @@ ImageList_Remove (HIMAGELIST himl, INT i)
|
||||||
{
|
{
|
||||||
IImageList2* piml = IImageList2_from_impl(himl);
|
IImageList2* piml = IImageList2_from_impl(himl);
|
||||||
if (!piml)
|
if (!piml)
|
||||||
return -1;
|
return FALSE;
|
||||||
|
|
||||||
return (piml->lpVtbl->Remove(piml, i) == S_OK) ? TRUE : FALSE;
|
return (piml->lpVtbl->Remove(piml, i) == S_OK) ? TRUE : FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue