From: Jaakko Heinonen Date: Mon, 19 Nov 2001 12:32:40 +0000 (+0000) Subject: Corrected the fix X-Git-Tag: upstream/0.6.1~2^2~319 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=a4dcb3a047fd723dd279d5cfd6095c3705af79fa;p=pkg%2Fabook.git Corrected the fix --- diff --git a/estr.c b/estr.c index 194ba52..2b3a1ef 100644 --- a/estr.c +++ b/estr.c @@ -316,7 +316,7 @@ filesel_sort_list() qsort((void *)lst, fdp, sizeof(struct filesel_list_item), filenamecmp ); - qsort((void *)(lst + fdp * sizeof(struct filesel_list_item)), + qsort((void *)(&lst[fdp]), FILESEL_LAST_ITEM - fdp + 1, sizeof(struct filesel_list_item), filenamecmp );