summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-18 17:07:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-18 17:07:23 +0000
commitc05e3017e053a2ceb66ff3c37e674e69577ce3e6 (patch)
treeaa30b424707783f224306eaa3d0ca658fd359001
parenta2a4ecf5147dc4f5f1cd13783f806e379b0ed326 (diff)
downloadmandoc-c05e3017e053a2ceb66ff3c37e674e69577ce3e6.tar.gz
.SY causes a one-column indentation even without any argument
-rw-r--r--man_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index fc7cca24..1264460a 100644
--- a/man_term.c
+++ b/man_term.c
@@ -872,7 +872,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: