From db3702949395f055d9ddea6be23b5fa38939d1f7 Mon Sep 17 00:00:00 2001 From: theraven Date: Fri, 11 Feb 2011 11:31:41 +0000 Subject: [PATCH] Fix NSEnumerationReverse in the other place where this bug was pasted. I must have been asleep or drunk when I wrote this method. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32055 72102866-910b-0410-8b05-ffd578937521 --- Source/NSArray.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSArray.m b/Source/NSArray.m index fa0ca00d5..289bd7bd9 100644 --- a/Source/NSArray.m +++ b/Source/NSArray.m @@ -1725,7 +1725,7 @@ compare(id elem1, id elem2, void* context) enumerator = [self reverseObjectEnumerator]; } - FOR_IN (id, obj, self) + FOR_IN (id, obj, enumerator) if (CALL_BLOCK(predicate, obj, count, &shouldStop)) { return count;