long double

This commit is contained in:
rsc 2006-06-26 00:07:54 +00:00
parent 13a17f7503
commit 56b2179d99

View file

@ -346,7 +346,7 @@ __efgfmt(Fmt *fmt)
int pad, point, prec, realchr, sign, sufwid, ucase, wid, z1, z2;
Rune r, *rs, *rt;
if(f->flags&FmtLong)
if(fmt->flags&FmtLong)
f = va_arg(fmt->args, long double);
else
f = va_arg(fmt->args, double);