print 0 %ux as 0x0

This commit is contained in:
rsc 2004-10-22 17:13:54 +00:00
parent 32116738e1
commit 298f6bd657

View file

@ -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';