summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-27 13:03:52 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-27 13:03:52 +0000
commit8654085778f2d528fc4324ca13134b9c82a50d5a (patch)
tree40b8f53f436cd7a47ecb926685e3fb958e08d1bf
parent4508331f120a6ce49b1af384489d64d28965b1a7 (diff)
sync to 1.7.20: minimum offset for .Bl -enum is 5 spaces, not 4
-rw-r--r--usr.bin/mandoc/mdoc_term.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c
index 26af4b78eeb..61ef9e9e460 100644
--- a/usr.bin/mandoc/mdoc_term.c
+++ b/usr.bin/mandoc/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.18 2009/06/27 12:43:11 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.19 2009/06/27 13:03:51 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -771,12 +771,14 @@ termp_it_pre(DECL_ARGS)
/* FALLTHROUGH */
case (MDOC_Dash):
/* FALLTHROUGH */
- case (MDOC_Enum):
- /* FALLTHROUGH */
case (MDOC_Hyphen):
if (width < 4)
width = 4;
break;
+ case (MDOC_Enum):
+ if (width < 5)
+ width = 5;
+ break;
case (MDOC_Tag):
if (0 == width)
width = 10;