summaryrefslogtreecommitdiffstats
path: root/out.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 /out.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 'out.c')
-rw-r--r--out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/out.c b/out.c
index 6396afa0..139e90bc 100644
--- a/out.c
+++ b/out.c
@@ -110,7 +110,7 @@ a2roffsu(const char *src, struct roffsu *dst, enum roffscale def)
case '\0':
if (SCALE_MAX == def)
return(0);
- unit = SCALE_EN;
+ unit = def;
break;
case 'u':
unit = SCALE_BU;