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 | 1d1bbf9d387ccbd04858a175c953d4a81d3b76b7 (patch) | |
tree | d5e028bc3ed1ac84f08f341b3e1b75376d119a5f | |
parent | 12bfb9e577affc62cdba74388eaaf9df27601045 (diff) | |
download | mandoc-1d1bbf9d387ccbd04858a175c953d4a81d3b76b7.tar.gz mandoc-1d1bbf9d387ccbd04858a175c953d4a81d3b76b7.tar.zst mandoc-1d1bbf9d387ccbd04858a175c953d4a81d3b76b7.zip |
Don't use EM for default widths; use BU instead.
-rw-r--r-- | mdoc_html.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index e95cd4ac..d1ec872f 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.129 2010/12/17 11:19:42 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.130 2010/12/17 12:57:49 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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); } } |