tprint 0 %ux as 0x0 - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 298f6bd657fd2c0cd6c1fc049be9e2a139e2ae05
DIR parent 32116738e10e88f4d8eb136652fa945c6415d462
HTML Author: rsc <devnull@localhost>
Date: Fri, 22 Oct 2004 17:13:54 +0000
print 0 %ux as 0x0
Diffstat:
M src/lib9/fmt/dofmt.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
DIR diff --git a/src/lib9/fmt/dofmt.c b/src/lib9/fmt/dofmt.c
t@@ -443,7 +443,6 @@ __ifmt(Fmt *f)
*p-- = '0';
n = 1;
}
- fl &= ~FmtSharp;
}
for(w = f->prec; n < w && p > buf+3; n++)
*p-- = '0';