aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit3234ace1ba2fef84ad009e6822dd76699a34e344 (patch)
treea48423d1f37e790774a27d5ede04465fcf8d8b87 /out.h
parenta0a09dc999ed5bd2a42918fc6f4143ef92b81ba4 (diff)
downloadmandoc-3234ace1ba2fef84ad009e6822dd76699a34e344.tar.gz
mandoc-3234ace1ba2fef84ad009e6822dd76699a34e344.tar.zst
mandoc-3234ace1ba2fef84ad009e6822dd76699a34e344.zip
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.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/out.h b/out.h
index 39dde420..9b432d59 100644
--- a/out.h
+++ b/out.h
@@ -1,4 +1,4 @@
-/* $Id: out.h,v 1.11 2010/06/19 20:46:28 kristaps Exp $ */
+/* $Id: out.h,v 1.12 2010/06/25 19:50:23 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 *,