projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebff0fe
)
* sbr/fmt_scan.c:PUTSF() Fix an off by one formatting issue.
author
Josh Bressers
<josh@bress.net>
Sun, 15 Jan 2006 02:52:12 +0000
(
02:52
+0000)
committer
Josh Bressers
<josh@bress.net>
Sun, 15 Jan 2006 02:52:12 +0000
(
02:52
+0000)
sbr/fmt_scan.c
patch
|
blob
|
history
diff --git
a/sbr/fmt_scan.c
b/sbr/fmt_scan.c
index
4921854
..
59e1c94
100644
(file)
--- 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;