summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-10-01 21:51:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-10-01 21:51:13 +0000
commit888848b9ef0ff0c2d78f3756002677111f4cb08d (patch)
tree40aa39c9d9d3ae0c0915d1916711132db0595710 /term.c
parenta72d3964e9e3f62beff54d04f4caf25f5856e020 (diff)
downloadmandoc-888848b9ef0ff0c2d78f3756002677111f4cb08d.tar.gz
* need a space before .No even if it starts with a closing delimiter
* slightly simplify .Pf *_IGNDELIM code, and share part of it with .No * do not let opening delimiters fall out of the front of .Ns (from kristaps@) This fixes a few spacing issues in csh(1) and ksh(1). OK kristaps@
Diffstat (limited to 'term.c')
-rw-r--r--term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term.c b/term.c
index 478a6364..8f90856c 100644
--- a/term.c
+++ b/term.c
@@ -505,7 +505,7 @@ term_word(struct termp *p, const char *word)
else
p->flags |= TERMP_NOSPACE;
- p->flags &= ~TERMP_SENTENCE;
+ p->flags &= ~(TERMP_SENTENCE | TERMP_IGNDELIM);
while (*word) {
if ((ssz = strcspn(word, "\\")) > 0)