summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-18 21:45:32 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-18 21:45:32 +0000
commitfb97c5112a54a9605cb443f4f16b4043894d5fb4 (patch)
treece869996b1405b432ae5a1df9795afe1a0fdf7a2
parentaa5e467e3ea8e58a32aa957eedcb771073825614 (diff)
sync to 1.7.16: support .Bd -offset left
-rw-r--r--usr.bin/mandoc/mdoc_term.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c
index a451b8f9683..4dd2f6402af 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.8 2009/06/18 21:34:54 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.9 2009/06/18 21:45:31 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -593,6 +593,8 @@ arg_offset(const struct mdoc_argv *arg)
{
assert(*arg->value);
+ if (0 == strcmp(*arg->value, "left"))
+ return(0);
if (0 == strcmp(*arg->value, "indent"))
return(INDENT);
if (0 == strcmp(*arg->value, "indent-two"))