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
commitda9da49eca5fd0a5dabff374eed5bf0daaace9d4 (patch)
tree79751c8e1b73cddf2172a421a535a7ab347b0b20 /lib-src/fakemail.c
parent2e2bb7548fa6dfb421a217723945f78b2ec9c74d (diff)
downloademacs-da9da49eca5fd0a5dabff374eed5bf0daaace9d4.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);
}