diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-17 12:57:49 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-17 12:57:49 +0000 |
commit | f845bdcb2eeb927577ae43d0cfe8bf3241afeeaf (patch) | |
tree | 2ab35f6e6a9779b82d7e1fd0a3adbf99b170bd98 /mdoc_html.c | |
parent | b41588e26162ddbad0f3c007484e78dbf4260c52 (diff) | |
download | mandoc-f845bdcb2eeb927577ae43d0cfe8bf3241afeeaf.tar.gz |
Don't use EM for default widths; use BU instead.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 4 |
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); } } |