use fmtlocaleinit

This commit is contained in:
rsc 2007-04-21 22:25:45 +00:00
parent d392fc771e
commit 30df15f9ec

View file

@ -376,7 +376,7 @@ hvprint(Hio *h, char *fmt, va_list args)
f.flush = fmthflush;
f.farg = h;
f.nfmt = 0;
// fmtlocaleinit(&f, nil, nil, nil);
fmtlocaleinit(&f, nil, nil, nil);
n = fmtvprint(&f, fmt, args);
h->pos = f.to;
return n;