Fixed: CPArray insertObject:inArraySortedByDescriptors: did not return the index into which the object was inserted. This would have broken CPArrayController's addObject code.

This commit is contained in:
Alexander Ljungberg
2010-05-26 19:36:26 -04:00
parent 396d4218f0
commit 5463e5ca55
+1
View File
@@ -524,6 +524,7 @@
index = -result-1;
[self insertObject:anObject atIndex:index];
return index;
}
/*!