diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-25 19:50:23 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-25 19:50:23 +0000 |
commit | 3234ace1ba2fef84ad009e6822dd76699a34e344 (patch) | |
tree | a48423d1f37e790774a27d5ede04465fcf8d8b87 /out.h | |
parent | a0a09dc999ed5bd2a42918fc6f4143ef92b81ba4 (diff) | |
download | mandoc-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.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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 *, |