]> git.deb.at Git - pkg/abook.git/commitdiff
Fixed an e-mail length calculation bug
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Tue, 12 Jun 2001 14:01:18 +0000 (14:01 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Tue, 12 Jun 2001 14:01:18 +0000 (14:01 +0000)
list.c

diff --git a/list.c b/list.c
index 13a794fb0f11e563fc503380e836034d92af61b7..39bf4422fcd755d3b8315ade75142dfdc2a07b20 100644 (file)
--- a/list.c
+++ b/list.c
@@ -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);