aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit34bee6097a58670fc58c4e6bcf0516bda8db47d7 (patch)
treee86d0a1b0894dc58611514392b3acd77b3584646
parentb0c127d2963d182de4289e4143f3edb38375cb47 (diff)
downloadmandoc-34bee6097a58670fc58c4e6bcf0516bda8db47d7.tar.gz
mandoc-34bee6097a58670fc58c4e6bcf0516bda8db47d7.tar.zst
mandoc-34bee6097a58670fc58c4e6bcf0516bda8db47d7.zip
bugfix: indented paragraph macros need a space character
before the width argument
-rw-r--r--mdoc_man.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index f9c7bcc5..d404fc7d 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -1,6 +1,6 @@
-/* $Id: mdoc_man.c,v 1.134 2020/02/20 00:29:16 schwarze Exp $ */
+/* $Id: mdoc_man.c,v 1.135 2020/02/20 22:55:42 schwarze Exp $ */
/*
- * 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) {