summaryrefslogtreecommitdiffstats
path: root/man_macro.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2023-11-13 19:13:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2023-11-13 19:13:01 +0000
commit6fbad40167aab34af92a8ee0415b1074df6bb25a (patch)
tree4ec4850b0f78c632cbafeb732f4cb3e7cc0064d6 /man_macro.c
parentdb997d9447d9d1725adb781c7e400a42a303791e (diff)
downloadmandoc-6fbad40167aab34af92a8ee0415b1074df6bb25a.tar.gz
Reduce the man(7) default global indentation from 7n, which was an oddity
in groff-1.01 to groff-1.22.4, to 5n for compatibility with Version 7 AT&T UNIX, 4.3BSD-Reno, groff-1.23.0, and all versions of mdoc(7). OK jmc@ millert@
Diffstat (limited to 'man_macro.c')
-rw-r--r--man_macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_macro.c b/man_macro.c
index c2ea7d49..3fd10818 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -317,7 +317,7 @@ blk_exp(MACRO_PROT_ARGS)
if (tok == MAN_RS) {
if (roff_getreg(man->roff, "an-margin") == 0)
roff_setreg(man->roff, "an-margin",
- 7 * 24, '=');
+ 5 * 24, '=');
if ((head->aux = strtod(p, NULL) * 24.0) > 0)
roff_setreg(man->roff, "an-margin",
head->aux, '+');