Fixed warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13027 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e490eab9a0
commit
8083cebaaf
@ -376,7 +376,7 @@ void BOutlineListView::Collapse(BListItem *item)
|
||||
item->fExpanded = false;
|
||||
|
||||
uint32 level = item->fLevel, full_index = FullListIndexOf(item),
|
||||
index = IndexOf(item) + 1, count = FullListCountItems() - full_index - 1;
|
||||
count = FullListCountItems() - full_index - 1;
|
||||
BListItem **items = (BListItem**)fullList.Items() + full_index + 1;
|
||||
|
||||
while (count-- > 0 && (*items)->fLevel > level)
|
||||
|
Loading…
x
Reference in New Issue
Block a user