summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-02-20 22:55:42 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-02-20 22:55:42 +0000
commit756799ac8d72aa1ef4345816847ee80e91d61405 (patch)
tree00d2e1c123aaf507149188cb14a0f53bd5687a09
parentab2ffee131d28b4bbbbb6f1099e8edc46e6b45f6 (diff)
downloadmandoc-756799ac8d72aa1ef4345816847ee80e91d61405.tar.gz
bugfix: indented paragraph macros need a space character
before the width argument
-rw-r--r--mdoc_man.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index ab2a61b1..8daaedfe 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -1,6 +1,6 @@
/* $Id$ */
/*
- * Copyright (c) 2011-2019 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2011-2020 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -583,9 +583,9 @@ print_width(const struct mdoc_bl *bl, const struct roff_node *child)
/* Set up the current list. */
if (chsz > sz && bl->type != LIST_tag)
- print_block(".HP", 0);
+ print_block(".HP", MMAN_spc);
else {
- print_block(".TP", 0);
+ print_block(".TP", MMAN_spc);
remain = sz + 2;
}
if (numeric) {