diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-08-18 17:06:59 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-08-18 17:06:59 +0000 |
commit | 8624c57ba901b8c21cff77d6ab2837f8f198bf20 (patch) | |
tree | dc10d58765e23b93a3573f2300192a4e686410a7 | |
parent | ca7878058d8aec63b09e012023255e92e46fde24 (diff) |
.SY causes a one-column indentation even without any argument
-rw-r--r-- | usr.bin/mandoc/man_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c index f48c09ceabc..4a64e1a7423 100644 --- a/usr.bin/mandoc/man_term.c +++ b/usr.bin/mandoc/man_term.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_term.c,v 1.171 2018/08/18 14:25:55 schwarze Exp $ */ +/* $OpenBSD: man_term.c,v 1.172 2018/08/18 17:06:58 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -870,7 +870,7 @@ pre_SY(DECL_ARGS) } nn = n->parent->head->child; - len = nn == NULL ? 0 : term_strlen(p, nn->string) + 1; + len = nn == NULL ? 1 : term_strlen(p, nn->string) + 1; switch (n->type) { case ROFFT_HEAD: |