diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2010-10-01 21:51:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2010-10-01 21:51:13 +0000 |
commit | 888848b9ef0ff0c2d78f3756002677111f4cb08d (patch) | |
tree | 40aa39c9d9d3ae0c0915d1916711132db0595710 /term.c | |
parent | a72d3964e9e3f62beff54d04f4caf25f5856e020 (diff) | |
download | mandoc-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |