aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-22 12:04:05 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-22 12:04:05 +0000
commit74605f6540401164e8a214ee34d6de4094e5347f (patch)
tree27dfc45ed0a3d335bbcf0158183a24709339b8e9 /mdoc_action.c
parent947f73805b11d9580b0ab9b7cbca918f44567314 (diff)
downloadmandoc-74605f6540401164e8a214ee34d6de4094e5347f.tar.gz
mandoc-74605f6540401164e8a214ee34d6de4094e5347f.tar.zst
mandoc-74605f6540401164e8a214ee34d6de4094e5347f.zip
Added "Spacing" part of "Punctuation and Spacing" in mandoc.1 manual.
Fixed `Ds' meta-macro default width. Fixed -width and -offset "indent", "indent-two", and "left" widths. Fixed -width and -offset literal-word and numeric widths. Fixed off-by-one errors in whitespace output (schwarze@openbsd.org).
Diffstat (limited to 'mdoc_action.c')
-rw-r--r--mdoc_action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index 13ce974c..8ee06aeb 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_action.c,v 1.17 2009/06/18 20:46:19 kristaps Exp $ */
+/* $Id: mdoc_action.c,v 1.18 2009/06/22 12:04:05 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -614,7 +614,7 @@ post_bl_width(struct mdoc *m)
*/
if (0 == strcmp(p, "Ds"))
- width = 8;
+ width = 6;
else if (MDOC_MAX == (tok = mdoc_hash_find(m->htab, p)))
return(1);
else if (0 == (width = mdoc_macro2len(tok)))