Return to html.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.102, 2010/06/19 20:46:27 | version 1.103, 2010/06/25 19:50:23 | ||
---|---|---|---|
|
|
||
break; | break; | ||
} | } | ||
if (su->pt) | /* | ||
buffmt(h, "%s: %f%s;", p, v, u); | * XXX: the CSS spec isn't clear as to which types accept | ||
else | * integer or real numbers, so we just make them all decimals. | ||
/* LINTED */ | */ | ||
buffmt(h, "%s: %d%s;", p, (int)v, u); | buffmt(h, "%s: %.2f%s;", p, v, u); | ||
} | } | ||