From 89e691f2ae498c6d6eac34cccda0bdcaca13717e Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 12 Apr 2014 14:26:29 +1000 Subject: Fix qsort argument order in collation example --- manual/string.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manual/string.texi') diff --git a/manual/string.texi b/manual/string.texi index 4437dddd47..ba5a2c7ba5 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -1572,8 +1572,8 @@ sort_strings_fast (char **array, int nstrings) @} /* @r{Sort @code{temp_array} by comparing transformed strings.} */ - qsort (temp_array, sizeof (struct sorter), - nstrings, compare_elements); + qsort (temp_array, nstrings, + sizeof (struct sorter), compare_elements); /* @r{Put the elements back in the permanent array} @r{in their sorted order.} */ -- cgit v1.2.1