summaryrefslogtreecommitdiffstats
path: root/out.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-25 19:50:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-25 19:50:23 +0000
commit730c5a1572228d1c4a1ef49a9748be04a119c1e8 (patch)
treee343184e297e9f8bc244f46377645cfb9148b125 /out.h
parent955a3b0eddc8e1d4b67024b12e652eac84dbcdec (diff)
downloadmandoc-730c5a1572228d1c4a1ef49a9748be04a119c1e8.tar.gz
Remove "pt" from struct roffsu, as CSS (the only reason it was there) is
unclear about which units accept floats/integers, which leads me to assume that it handles either and rounds as appropriate.
Diffstat (limited to 'out.h')
-rw-r--r--out.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/out.h b/out.h
index 8810cec3..80a2d40c 100644
--- a/out.h
+++ b/out.h
@@ -53,7 +53,6 @@ enum roffdeco {
struct roffsu {
enum roffscale unit;
double scale;
- int pt;
};
#define SCALE_INVERT(p) \
@@ -62,14 +61,12 @@ struct roffsu {
#define SCALE_VS_INIT(p, v) \
do { (p)->unit = SCALE_VS; \
- (p)->scale = (v); \
- (p)->pt = 0; } \
+ (p)->scale = (v); } \
while (/* CONSTCOND */ 0)
#define SCALE_HS_INIT(p, v) \
do { (p)->unit = SCALE_BU; \
- (p)->scale = (v); \
- (p)->pt = 0; } \
+ (p)->scale = (v); } \
while (/* CONSTCOND */ 0)
int a2roffsu(const char *,