aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-28 21:22:17 +0000
committerRichard M. Stallman1993-05-28 21:22:17 +0000
commitc1380f31bfd2b5bf42f6ffce36cc871e8a01f827 (patch)
treefad24a9ce01b9b283ba895dd8b0fc3ad3d4eaa1a /lib-src
parentc34790e0b533bf7ddb6bc6d4c654bc7d9dd2ba80 (diff)
downloademacs-c1380f31bfd2b5bf42f6ffce36cc871e8a01f827.tar.gz
emacs-c1380f31bfd2b5bf42f6ffce36cc871e8a01f827.zip
(put_line): Don't output \n\t unless more text follows.
Diffstat (limited to 'lib-src')
-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)
436 } 436 }
437 /* Output that much, then break the line. */ 437 /* Output that much, then break the line. */
438 fwrite (s, 1, breakpos - s, rem->handle); 438 fwrite (s, 1, breakpos - s, rem->handle);
439 fputs ("\n\t", rem->handle);
440 column = 8; 439 column = 8;
441 440
442 /* Skip whitespace and prepare to print more addresses. */ 441 /* Skip whitespace and prepare to print more addresses. */
443 s = breakpos; 442 s = breakpos;
444 while (*s == ' ' || *s == '\t') ++s; 443 while (*s == ' ' || *s == '\t') ++s;
444 if (*s != 0)
445 fputs ("\n\t", rem->handle);
445 } 446 }
446 putc ('\n', rem->handle); 447 putc ('\n', rem->handle);
447 } 448 }