* Formatter now uses more of the available screen width
authorMichael Hampton <io_error@uncensored.citadel.org>
Sat, 26 Jan 2002 04:01:10 +0000 (04:01 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Sat, 26 Jan 2002 04:01:10 +0000 (04:01 +0000)
citadel/ChangeLog
citadel/commands.c

index 6eb20860119b90bf09bab976abf941a1eaa4d3c6..65eec83a5b44901cfb1a74d783f209ec805639db 100644 (file)
@@ -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 <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+
index 1fa6e127be962a752da6fb812fa5ba1702e0b649..2f39edde726fe2568b91488d9fd4ea8ebfd95cb5 100644 (file)
@@ -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");