Please shoot (well, ok, at least never let him near a computer again) the

person who decided that the order of args for EngSort() is different from
the order for qsort()

svn path=/trunk/; revision=5101
This commit is contained in:
Gé van Geldorp 2003-07-12 14:00:05 +00:00
parent c8356266c1
commit 5ed1368ae1

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: sort.c,v 1.1 2003/07/12 12:45:29 gvg Exp $ */
/* $Id: sort.c,v 1.2 2003/07/12 14:00:05 gvg Exp $ */
#include <stdlib.h>
#include <ddk/winddi.h>
@ -27,7 +27,7 @@
void STDCALL
EngSort(IN OUT PBYTE Buf, IN ULONG ElemSize, IN ULONG ElemCount, IN SORTCOMP CompFunc)
{
qsort(Buf, ElemSize, ElemCount, CompFunc);
qsort(Buf, ElemCount, ElemSize, CompFunc);
}
/* EOF */