summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-04 02:05:42 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-04 02:05:42 +0000
commit281d416eceffce59e0fae5083eda1dd251311db9 (patch)
tree50a03ece295858bcbd515f42e7a9ad21af83c2c4 /man_html.c
parent57d8fc7a691e257be60520488da95ba925631ee2 (diff)
downloadmandoc-281d416eceffce59e0fae5083eda1dd251311db9.tar.gz
fix handling of roff requests having a default scale other than "n",
in particular .sp which uses "v", when the scale is not specified; cures groff-mandoc differences in about a dozen Xenocara manuals
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_html.c b/man_html.c
index 75517854..efcaa51f 100644
--- a/man_html.c
+++ b/man_html.c
@@ -282,7 +282,7 @@ a2width(const struct man_node *n, struct roffsu *su)
if (MAN_TEXT != n->type)
return(0);
- if (a2roffsu(n->string, su, SCALE_BU))
+ if (a2roffsu(n->string, su, SCALE_EN))
return(1);
return(0);