X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffmt_scan.c;h=4f9078a4318893f9f69fad49bedc2ddf16c66d49;hb=8f4c5da8971926f7eccc912f7998c343aef3c33b;hp=ae311621b22e098e70c6219cbb4f1c8ce8829a3a;hpb=8563731b02ce9d750806f6b1769af8b399d964e8;p=mmh diff --git a/sbr/fmt_scan.c b/sbr/fmt_scan.c index ae31162..4f9078a 100644 --- a/sbr/fmt_scan.c +++ b/sbr/fmt_scan.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #ifdef TIME_WITH_SYS_TIME @@ -760,9 +760,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) {