mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Bugfix in array - use insertion sort to make sure we delete objects at indices
correctly. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3723 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c4133365e4
commit
73bc1de913
3 changed files with 46 additions and 3 deletions
|
@ -185,7 +185,7 @@ main()
|
|||
// Joining string elements
|
||||
printf("Method: -componentsJoinedByString:\n");
|
||||
i = [c componentsJoinedByString: @"/"];
|
||||
if ([i isEqual: @"NSObject/NSArray/NSMutableArray"])
|
||||
if ([i isEqual: @"<NSObject>/<NSArray>/<NSMutableArray>"])
|
||||
printf("%s is correct\n", [i cString]);
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue