summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--term.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/term.c b/term.c
index 20db6cfe..ad214084 100644
--- a/term.c
+++ b/term.c
@@ -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);
}