Fix by Jack Burton
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2217 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -374,7 +374,7 @@ BList::DoForEach(bool (*func)(void *))
|
|||||||
{
|
{
|
||||||
while ((!terminate) && (index < fItemCount)) //check terminate condition.
|
while ((!terminate) && (index < fItemCount)) //check terminate condition.
|
||||||
{
|
{
|
||||||
terminate = func(fItemList[index]); //reset immediate terminator
|
terminate = func(fObjectList[index]); //reset immediate terminator
|
||||||
index++; //advance along the list.
|
index++; //advance along the list.
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -390,7 +390,7 @@ BList::DoForEach(bool (*func)(void *, void*), void * arg)
|
|||||||
{
|
{
|
||||||
while ((!terminate) && (index < fItemCount))
|
while ((!terminate) && (index < fItemCount))
|
||||||
{
|
{
|
||||||
terminate = func(fItemList[index], arg);
|
terminate = func(fObjectList[index], arg);
|
||||||
index++;
|
index++;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user