From: Josh Bressers Date: Sun, 15 Jan 2006 02:52:12 +0000 (+0000) Subject: * sbr/fmt_scan.c:PUTSF() Fix an off by one formatting issue. X-Git-Tag: nmh-1_3_RC1~73 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=e25b4ce52c29f7458cd203cc70f73e1a6a241ede;p=mmh * sbr/fmt_scan.c:PUTSF() Fix an off by one formatting issue. --- diff --git a/sbr/fmt_scan.c b/sbr/fmt_scan.c index 4921854..59e1c94 100644 --- a/sbr/fmt_scan.c +++ b/sbr/fmt_scan.c @@ -133,6 +133,7 @@ char * PUTSF(char *cp, char *str, unsigned int wid, char fill) { for (j = term_len ; j <= wid ; j++) { *(cp + i++) = fill; } + i--; } return cp + i;