chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4ca8702
)
Stupid bug in float formatting.
author
mdw
<mdw>
Fri, 16 Sep 2005 13:09:29 +0000
(13:09 +0000)
committer
mdw
<mdw>
Fri, 16 Sep 2005 13:09:29 +0000
(13:09 +0000)
dputf.c
patch
|
blob
|
blame
|
history
diff --git
a/dputf.c
b/dputf.c
index 85b6c65eabe17aac8ec61b42c38539dc82eeabc3..7ca969a2949acbb851f08332db4140d58bbe2bee 100644
(file)
--- a/
dputf.c
+++ b/
dputf.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id
: dputf.c,v 1.6 2004/04/08 01:36:11 mdw Exp
$
+ * $Id$
*
* `printf'-style formatting for dynamic strings
*
*
* `printf'-style formatting for dynamic strings
*
@@
-131,6
+131,7
@@
int dstr_vputf(dstr *d, const char *p, va_list *ap)
DPUTC(&dd, '.');
ip = ≺
f |= f_prec;
DPUTC(&dd, '.');
ip = ≺
f |= f_prec;
+ p++;
goto getnum;
case '*':
ip = &wd;
goto getnum;
case '*':
ip = &wd;