]> git.deb.at Git - pkg/abook.git/blobdiff - list.c
Updated JH's e-mail address
[pkg/abook.git] / list.c
diff --git a/list.c b/list.c
index cf2befa13b2401ddee846eacbfcc0da57b2e7cb7..29ba97263c37be392ab34474091febd87896bada 100644 (file)
--- a/list.c
+++ b/list.c
@@ -2,7 +2,7 @@
 /*
  * $Id$
  *
- * by JH <jheinonen@bigfoot.com>
+ * by JH <jheinonen@users.sourceforge.net>
  *
  * Copyright (C) Jaakko Heinonen
  */
@@ -87,7 +87,7 @@ print_list_line(int i, int line)
        char tmp[MAX_EMAILSTR_LEN];
        int extra_column = options_get_int("extra_column");
        int real_emaillen = (extra_column > 2 && extra_column < ITEM_FIELDS) ?
-               EMAILLEN : EMAILPOS - COLS;
+               EMAILLEN : COLS - EMAILPOS;
 
        scrollok(list, FALSE);
 
@@ -300,7 +300,7 @@ list_current_item()
 inline int
 list_is_empty()
 {
-       return items < 1 ? 1 : 0;
+       return items < 1;
 }