]> git.deb.at Git - pkg/abook.git/blobdiff - estr.c
*** empty log message ***
[pkg/abook.git] / estr.c
diff --git a/estr.c b/estr.c
index 157c8314dc8c575c6492fd96d8def5ca6b52f839..2b3a1ef57b8b97d4a42d32a64860ed0c8d058de1 100644 (file)
--- a/estr.c
+++ b/estr.c
@@ -2,10 +2,9 @@
 /*
  * $Id$
  *  
- * by JH <jheinonen@bigfoot.com>
+ * by JH <jheinonen@users.sourceforge.net>
  *
  * Copyright (C) Jaakko Heinonen
- *
  */
 
 
@@ -136,7 +135,7 @@ out:
 
 /*
  * filesel.c
- * by JH <jheinonen@bigfoot.com>
+ * by JH <jheinonen@users.sourceforge.net>
  *
  * Copyright (C) Jaakko Heinonen
  */
@@ -317,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 );