aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/out.c
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.c
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.c')
-rw-r--r--out.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/out.c b/out.c
index 6a26f95a..f80d83a1 100644
--- a/out.c
+++ b/out.c
@@ -1,4 +1,4 @@
-/* $Id: out.c,v 1.16 2010/06/19 20:46:28 kristaps Exp $ */
+/* $Id: out.c,v 1.17 2010/06/25 19:50:23 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -139,8 +139,6 @@ a2roffsu(const char *src, struct roffsu *dst, enum roffscale def)
if ((dst->scale = atof(buf)) < 0)
dst->scale = 0;
dst->unit = unit;
- dst->pt = hasd;
-
return(1);
}