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:
Axel Dörfler 2006-01-02 12:17:14 +00:00
parent 3edb84e5ed
commit 4faa23ccb3

View File

@ -119,7 +119,7 @@ TMenuItemGroup::RemoveItem(int32 index)
{
BMenuItem *item = ItemAt(index);
if (item == NULL)
return false;
return NULL;
if (RemoveItem(item))
return item;