diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-03-06 13:02:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-03-06 13:02:43 +0000 |
commit | 611e51a9591bc8bb08db2b843ed4e45b0e19567b (patch) | |
tree | 2e0818eb4af9b2bea0979c04ce7c3c6420f4f3cd /term.c | |
parent | 81a8bde7e1b96fcaa41ea3eeb493fa2b628634b1 (diff) | |
download | mandoc-611e51a9591bc8bb08db2b843ed4e45b0e19567b.tar.gz |
prevent the skipvsp flag from creeping past actual text
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -413,6 +413,7 @@ term_word(struct termp *p, const char *word) p->flags |= TERMP_NOSPACE; p->flags &= ~(TERMP_SENTENCE | TERMP_NONEWLINE); + p->skipvsp = 0; while ('\0' != *word) { if ('\\' != *word) { |