diff --git a/src/kits/interface/OutlineListView.cpp b/src/kits/interface/OutlineListView.cpp
index 3220cfc..9de2575 100644
a
|
b
|
BOutlineListView::EachItemUnder(BListItem* superItem, bool oneLevelOnly,
|
725 | 725 | if (i == -1) |
726 | 726 | return NULL; |
727 | 727 | |
| 728 | i++; // skip the superitem |
728 | 729 | while (i < FullListCountItems()) { |
729 | 730 | BListItem* item = FullListItemAt(i); |
730 | 731 | |
731 | 732 | // If we jump out of the subtree, return NULL |
732 | | if (item->fLevel < superItem->OutlineLevel()) |
| 733 | if (item->fLevel <= superItem->OutlineLevel()) |
733 | 734 | return NULL; |
734 | 735 | |
735 | 736 | // If the level matches, check the index |