* z8kgen.c (func): Fix thinko last patch.

This commit is contained in:
Alan Modra 2009-09-07 13:01:35 +00:00
parent eae14d64d1
commit 815c0482cb
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-09-07 Alan Modra <amodra@bigpond.net.au>
* z8kgen.c (func): Fix thinko last patch.
2009-09-07 Alan Modra <amodra@bigpond.net.au>
* z8kgen.c (func): Stabilize qsort of identically named entries.

View File

@ -574,7 +574,7 @@ func (const void *p1, const void *p2)
int ret = strcmp (a->name, b->name);
if (ret != 0)
return ret;
return p1 > p2;
return p1 > p2 ? 1 : -1;
}