aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-10-09 18:16:56 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-10-09 18:16:56 +0000
commit3892da30926fd654ed475a42c595f636721898b1 (patch)
tree1e77c65a3168e07b9ad4535bea251fc290b568e5 /read.c
parent8c879d70b7dcf90f795a9288b45997e4d1decaf6 (diff)
downloadmandoc-3892da30926fd654ed475a42c595f636721898b1.tar.gz
mandoc-3892da30926fd654ed475a42c595f636721898b1.tar.zst
mandoc-3892da30926fd654ed475a42c595f636721898b1.zip
Delete complicated code dealing with .Bl -tag without -width,
and just let it default to -width 6n, which agrees with the traditional -width Ds that is still in widespread use. I just pushed a patch upstream to GNU roff that does the same for groff_mdoc(7). Before, groff contained code that was even more complicated than mandoc, but both resulted in quite different user-visible output. Now, both agree, and output is nicer for both. Useless complication noticed by Carsten Kunze (Heirloom roff).
Diffstat (limited to 'read.c')
-rw-r--r--read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/read.c b/read.c
index 21d28b0b..8ab1ad16 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.151 2016/07/19 21:31:55 schwarze Exp $ */
+/* $Id: read.c,v 1.152 2016/10/09 18:16:56 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2016 Ingo Schwarze <schwarze@openbsd.org>
@@ -141,7 +141,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"empty argument, using 0n",
"missing display type, using -ragged",
"list type is not the first argument",
- "missing -width in -tag list, using 8n",
+ "missing -width in -tag list, using 6n",
"missing utility name, using \"\"",
"missing function name, using \"\"",
"empty head in list item",