summaryrefslogtreecommitdiffstats
path: root/man_term.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_term.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_term.c')
-rw-r--r--man_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index f6e778fc..2d988720 100644
--- a/man_term.c
+++ b/man_term.c
@@ -201,7 +201,7 @@ a2width(const struct termp *p, const char *cp)
{
struct roffsu su;
- if ( ! a2roffsu(cp, &su, SCALE_BU))
+ if ( ! a2roffsu(cp, &su, SCALE_EN))
return(-1);
return((int)term_hspan(p, &su));