diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-12 16:01:01 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-12 16:01:01 +0000 |
commit | 60aba25148a5a3280bb5e9816867afa8659b7a81 (patch) | |
tree | a8b197dcc64f8e48c5011a13913da0293b35838f /term.c | |
parent | 2e08684b6f7079837888e14e0a2129df281b31e8 (diff) | |
download | mandoc-60aba25148a5a3280bb5e9816867afa8659b7a81.tar.gz |
Tiny EOS patch. Back-end cues front-end through flag. Front-end cues output engine with flag.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -445,12 +445,17 @@ term_word(struct termp *p, const char *word) break; } - if ( ! (TERMP_NOSPACE & p->flags)) + if ( ! (TERMP_NOSPACE & p->flags)) { bufferc(p, ' '); + if (TERMP_SENTENCE & p->flags) + bufferc(p, ' '); + } if ( ! (p->flags & TERMP_NONOSPACE)) p->flags &= ~TERMP_NOSPACE; + p->flags &= ~TERMP_SENTENCE; + /* FIXME: use strcspn. */ while (*word) { |