From a3d1f07f830eb36e3fa02a9b43bc4868d751a2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 10 Dec 2002 16:30:39 +0000 Subject: [PATCH] Fix by Jack Burton git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2217 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/support/List.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/support/List.cpp b/src/kits/support/List.cpp index 627dddebb0..dcd6c88614 100644 --- a/src/kits/support/List.cpp +++ b/src/kits/support/List.cpp @@ -374,7 +374,7 @@ BList::DoForEach(bool (*func)(void *)) { 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. }; } @@ -390,7 +390,7 @@ BList::DoForEach(bool (*func)(void *, void*), void * arg) { while ((!terminate) && (index < fItemCount)) { - terminate = func(fItemList[index], arg); + terminate = func(fObjectList[index], arg); index++; }; }