CVSROOT:        /sources/nmh
Module name:    nmh
Branch:         
Changes by:     Josh Bressers <[EMAIL PROTECTED]>       06/01/15 02:52:12

Modified files:
        sbr            : fmt_scan.c 

Log message:
        * sbr/fmt_scan.c:PUTSF() Fix an off by one formatting issue.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/nmh/sbr/fmt_scan.c.diff?tr1=1.17&tr2=1.18&r1=text&r2=text

Patches:
Index: nmh/sbr/fmt_scan.c
diff -u nmh/sbr/fmt_scan.c:1.17 nmh/sbr/fmt_scan.c:1.18
--- nmh/sbr/fmt_scan.c:1.17     Sun Jan 15 02:29:38 2006
+++ nmh/sbr/fmt_scan.c  Sun Jan 15 02:52:12 2006
@@ -2,7 +2,7 @@
 /*
  * fmt_scan.c -- format string interpretation
  *
- * $Id: fmt_scan.c,v 1.17 2006/01/15 02:29:38 bress Exp $
+ * $Id: fmt_scan.c,v 1.18 2006/01/15 02:52:12 bress Exp $
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -133,6 +133,7 @@
         for (j = term_len ; j <= wid ; j++) {
             *(cp + i++) = fill;
         }
+        i--;
     }
 
     return cp + i;


_______________________________________________
Nmh-commits mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/nmh-commits

Reply via email to