chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stupid bug in float formatting.
[mLib]
/
dputf.c
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;