From ee228d79036122b2d0284854cd2e94526fd838b9 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 22 Oct 2009 18:19:36 +0000 Subject: Fixed order of printing backspace-encoding for terms that are both bold and underlined (noted by Joerg Sonnenberger). --- term.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'term.c') 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); } -- cgit