diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-22 18:19:36 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-22 18:19:36 +0000 |
commit | ee228d79036122b2d0284854cd2e94526fd838b9 (patch) | |
tree | af1a628563d1eec244e087f544b85716482b4923 /term.c | |
parent | 8e7e152dca775ad259f5952da753603cc872f7d9 (diff) | |
download | mandoc-ee228d79036122b2d0284854cd2e94526fd838b9.tar.gz |
Fixed order of printing backspace-encoding for terms that are both bold and underlined (noted by Joerg Sonnenberger).
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -548,14 +548,14 @@ encode(struct termp *p, char c) { if (' ' != c) { - if (p->bold) { - buffer(p, c); - buffer(p, 8); - } if (p->under) { buffer(p, '_'); buffer(p, 8); } + if (p->bold) { + buffer(p, c); + buffer(p, 8); + } } buffer(p, c); } |