mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 01:01:03 +00:00
Fix variuus minor bugs reported by Andre Levy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20020 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1b371d7744
commit
ddd167a6b1
5 changed files with 41 additions and 16 deletions
|
@ -1688,7 +1688,7 @@ compare(id elem1, id elem2, void* context)
|
|||
{
|
||||
if (count > 0)
|
||||
{
|
||||
unsigned sorted[count];
|
||||
GS_BEGINITEMBUF(sorted, count, unsigned int);
|
||||
unsigned to = 0;
|
||||
unsigned from = 0;
|
||||
unsigned i;
|
||||
|
@ -1732,6 +1732,7 @@ compare(id elem1, id elem2, void* context)
|
|||
(*rem)(self, remSel, sorted[to]);
|
||||
}
|
||||
}
|
||||
GS_ENDITEMBUF();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue