From: Michael Hampton Date: Sat, 26 Jan 2002 04:01:10 +0000 (+0000) Subject: * Formatter now uses more of the available screen width X-Git-Tag: v7.86~6574 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=f6f624c4cebdc4a06c0bf7cff1dc12fae33aa2fe;p=citadel.git * Formatter now uses more of the available screen width --- diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 6eb208601..65eec83a5 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,7 @@ $Log$ + Revision 590.88 2002/01/26 04:01:10 error + * Formatter now uses more of the available screen width + Revision 590.87 2002/01/26 03:57:30 error * Revised status_line() display, it's much more compact now @@ -3241,3 +3244,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import + diff --git a/citadel/commands.c b/citadel/commands.c index 1fa6e127b..2f39edde7 100644 --- a/citadel/commands.c +++ b/citadel/commands.c @@ -1270,7 +1270,7 @@ FMTA: while ((eof_flag == 0) && (strlen(buffer) < 126)) { goto FMTA; if (a > 32) { - if (((strlen(aaa) + c) > (width - 5)) && (strlen(aaa) > (width - 5))) { + if (((strlen(aaa) + c) > (width - 1)) && (strlen(aaa) > (width - 1))) { if (fpout) { fprintf(fpout, "\n%s", aaa); } else { @@ -1286,7 +1286,7 @@ FMTA: while ((eof_flag == 0) && (strlen(buffer) < 126)) { aaa[b + 1] = 0; } if (a == 32) { - if ((strlen(aaa) + c) > (width - 5)) { + if ((strlen(aaa) + c) > (width - 1)) { c = 1; if (fpout) { fprintf(fpout, "\n");