X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=sbr%2Ffmt_scan.c;h=5dc7f22c91269d2a71c6b273e057822f23dd7e33;hb=6c42153ad9362cc676ea66563bf400d7511b3b68;hp=ae311621b22e098e70c6219cbb4f1c8ce8829a3a;hpb=8563731b02ce9d750806f6b1769af8b399d964e8;p=mmh diff --git a/sbr/fmt_scan.c b/sbr/fmt_scan.c index ae31162..5dc7f22 100644 --- a/sbr/fmt_scan.c +++ b/sbr/fmt_scan.c @@ -3,12 +3,16 @@ * fmt_scan.c -- format string interpretation * * $Id$ + * + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include #include #include -#include +#include #include #ifdef TIME_WITH_SYS_TIME @@ -760,9 +764,6 @@ fmt_scan (struct format *format, char *scanl, int width, int *dat) len -= sp - lp + 1; while (cp < ep && lp <= sp) *cp++ = *lp++; - *cp++ = '\n'; - for (i=indent; cp < ep && i > 0; i--) - *cp++ = ' '; while (isspace(*lp)) lp++, len--; if (*lp) {