Mercurial > ~dholland > hg > ag > index.cgi
comparison help2html/support.c @ 1:60d3ca9d3f6b
Fix stupid bug in help2html.
author | David A. Holland |
---|---|
date | Tue, 12 Aug 2008 00:13:42 -0400 |
parents | 13d2b8934445 |
children |
comparison
equal
deleted
inserted
replaced
0:13d2b8934445 | 1:60d3ca9d3f6b |
---|---|
48 for (i=0; i<n; i++) { | 48 for (i=0; i<n; i++) { |
49 pv[i] = i; | 49 pv[i] = i; |
50 } | 50 } |
51 | 51 |
52 /* sort it */ | 52 /* sort it */ |
53 qsort(pv, n, sizeof(int *), sorter); | 53 qsort(pv, n, sizeof(int), sorter); |
54 | 54 |
55 sortdict = NULL; | 55 sortdict = NULL; |
56 | 56 |
57 /* return it */ | 57 /* return it */ |
58 struct permutation *p = must_malloc(sizeof(*p)); | 58 struct permutation *p = must_malloc(sizeof(*p)); |