From 97e702f1687ec3975b215d6ea566bf1d6aca30a8 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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'term.c') diff --git a/term.c b/term.c index b125d4b0..2a6274ed 100644 --- a/term.c +++ b/term.c @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.108 2009/10/19 15:18:30 kristaps Exp $ */ +/* $Id: term.c,v 1.109 2009/10/22 18:19:36 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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 v1.2.3