diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2001-06-05 15:43:41 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2001-06-05 15:43:41 +0000 |
commit | f08c3ad03bb0da8492c12230ba65d32787131c02 (patch) | |
tree | b34e21ea52e9b1264df18dac2a763c5f9d6c39c7 | |
parent | f05105c46a83f36354810d1a7126b96376609cf0 (diff) |
Leave slightly more margin with format=flowed.
-rw-r--r-- | handler.c | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -891,12 +891,7 @@ void text_enriched_handler (BODY *a, STATE *s) * */ -/* - * Personally, I'd prefer something around 70 here. However, - * we don't want to unnecessarily distort the design of entirely - * valid messages which actually use the 79 columns. - */ -#define FLOWED_MAX 79 +#define FLOWED_MAX 77 static void flowed_quote (STATE *s, int level) { @@ -976,9 +971,9 @@ static void text_plain_flowed_handler (BODY *a, STATE *s) if (s->prefix) add = 1; - if ((flowed_max = FLOWED_MAX) > COLS) - flowed_max = COLS - 1; - + if ((flowed_max = FLOWED_MAX) > COLS - 3) + flowed_max = COLS - 3; + while (bytes > 0 && fgets (line, sizeof (line), s->fpin)) { bytes -= strlen (line); |