call fmtlocaleinit

This commit is contained in:
rsc 2006-06-07 15:28:30 +00:00
parent 8b0728d3b5
commit d6316a2de0

View file

@ -5,13 +5,11 @@
void
fmtzbinit(Fmt *f, ZBlock *b)
{
f->runes = 0;
memset(f, 0, sizeof *f);
fmtlocaleinit(f);
f->start = b->data;
f->to = f->start;
f->stop = (char*)f->start + b->len;
f->flush = nil;
f->farg = nil;
f->nfmt = 0;
}
#define ROUNDUP(p, n) ((void*)(((uintptr)(p)+(n)-1)&~(uintptr)((n)-1)))