changeset 3219:1aa8fa0a569e

(put_line): Don't output \n\t unless more text follows.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 May 1993 21:22:17 +0000
parents 0069a30d083f
children 77a302be84da
files lib-src/fakemail.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/fakemail.c	Fri May 28 21:13:59 1993 +0000
+++ b/lib-src/fakemail.c	Fri May 28 21:22:17 1993 +0000
@@ -436,12 +436,13 @@
 	    }
 	  /* Output that much, then break the line.  */
 	  fwrite (s, 1, breakpos - s, rem->handle);
-	  fputs ("\n\t", rem->handle);
 	  column = 8;
 
 	  /* Skip whitespace and prepare to print more addresses.  */
 	  s = breakpos;
 	  while (*s == ' ' || *s == '\t') ++s;
+          if (*s != 0)
+	    fputs ("\n\t", rem->handle);
 	}
       putc ('\n', rem->handle);
     }