diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-24 11:54:25 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-24 11:54:25 +0000 |
commit | f567494c37b88cb10f77f60250f709af51cb57e7 (patch) | |
tree | 29886547353af33c0a2dbd38441822f002eb98c3 /term.c | |
parent | 938327e063b7635e0ec4f645185878cbe54f1581 (diff) | |
download | mandoc-f567494c37b88cb10f77f60250f709af51cb57e7.tar.gz |
Text tokens with leading whitespace (like indented blocks in `Bd -literal') are printed correctly.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -259,7 +259,7 @@ term_flushln(struct termp *p) /* LINTED */ for (j = i, vsz = 0; j < (int)p->col; j++) { - if (' ' == p->buf[j]) + if (j && ' ' == p->buf[j]) break; else if (8 == p->buf[j]) vsz--; |