From: Jaakko Heinonen Date: Tue, 12 Jun 2001 14:01:18 +0000 (+0000) Subject: Fixed an e-mail length calculation bug X-Git-Tag: upstream/0.6.1~2^2~361 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=ddc79c208a4b434fc9a314cc41ced960563fa07e;p=pkg%2Fabook.git Fixed an e-mail length calculation bug --- diff --git a/list.c b/list.c index 13a794f..39bf442 100644 --- 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);