aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term.c b/term.c
index 4bab9034..493d8770 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.254 2015/10/13 22:59:54 schwarze Exp $ */
+/* $Id: term.c,v 1.255 2015/10/23 14:50:58 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -564,7 +564,7 @@ encode1(struct termp *p, int c)
if (p->col + 7 >= p->maxcols)
adjbuf(p, p->col + 7);
- f = (c == ASCII_HYPH || isgraph(c)) ?
+ f = (c == ASCII_HYPH || c > 127 || isgraph(c)) ?
p->fontq[p->fonti] : TERMFONT_NONE;
if (p->flags & TERMP_BACKBEFORE) {