summaryrefslogtreecommitdiff
path: root/lib-src/fakemail.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-28 21:22:17 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-28 21:22:17 +0000
commitc1380f31bfd2b5bf42f6ffce36cc871e8a01f827 (patch)
treefad24a9ce01b9b283ba895dd8b0fc3ad3d4eaa1a /lib-src/fakemail.c
parentc34790e0b533bf7ddb6bc6d4c654bc7d9dd2ba80 (diff)
downloademacs-c1380f31bfd2b5bf42f6ffce36cc871e8a01f827.tar.gz
(put_line): Don't output \n\t unless more text follows.
Diffstat (limited to 'lib-src/fakemail.c')
-rw-r--r--lib-src/fakemail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c
index 464a739e998..a78fbe87f26 100644
--- a/lib-src/fakemail.c
+++ b/lib-src/fakemail.c
@@ -436,12 +436,13 @@ put_line (string)
}
/* 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);
}