summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-17 12:57:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-17 12:57:49 +0000
commitf845bdcb2eeb927577ae43d0cfe8bf3241afeeaf (patch)
tree2ab35f6e6a9779b82d7e1fd0a3adbf99b170bd98
parentb41588e26162ddbad0f3c007484e78dbf4260c52 (diff)
downloadmandoc-f845bdcb2eeb927577ae43d0cfe8bf3241afeeaf.tar.gz
Don't use EM for default widths; use BU instead.
-rw-r--r--mdoc_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index cc8c2994..df5c5440 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -287,7 +287,7 @@ a2width(const char *p, struct roffsu *su)
{
if ( ! a2roffsu(p, su, SCALE_MAX)) {
- su->unit = SCALE_EM;
+ su->unit = SCALE_BU;
su->scale = (int)strlen(p);
}
}
@@ -354,7 +354,7 @@ a2offs(const char *p, struct roffsu *su)
else if (0 == strcmp(p, "indent-two"))
SCALE_HS_INIT(su, INDENT * 2);
else if ( ! a2roffsu(p, su, SCALE_MAX)) {
- su->unit = SCALE_EM;
+ su->unit = SCALE_BU;
su->scale = (int)strlen(p);
}
}