Minor fix, closes bug #81.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15788 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3edb84e5ed
commit
4faa23ccb3
@ -119,7 +119,7 @@ TMenuItemGroup::RemoveItem(int32 index)
|
||||
{
|
||||
BMenuItem *item = ItemAt(index);
|
||||
if (item == NULL)
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
if (RemoveItem(item))
|
||||
return item;
|
||||
|
Loading…
Reference in New Issue
Block a user