]> git.deb.at Git - pkg/abook.git/commitdiff
Corrected the fix
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Mon, 19 Nov 2001 12:32:40 +0000 (12:32 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Mon, 19 Nov 2001 12:32:40 +0000 (12:32 +0000)
estr.c

diff --git a/estr.c b/estr.c
index 194ba52b798dfb19c1702ad3c22b142f038ffdd8..2b3a1ef57b8b97d4a42d32a64860ed0c8d058de1 100644 (file)
--- 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 );