summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-11-16 13:28:59 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-11-16 13:28:59 +0000
commit5ca710d9e3284393dfbd294915e9e4251b0fe728 (patch)
treea7d6dc2e37673d14fe88ec6bf68e644271c67e92 /tty.c
parent46f5e42145ed34567b29c73032adbd8a41f5dfa2 (diff)
Disable UTF-8 by default and add options to enable it.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index 90c4b9d0..22f0daf7 100644
--- a/tty.c
+++ b/tty.c
@@ -1,4 +1,4 @@
-/* $Id: tty.c,v 1.50 2008-11-16 10:10:26 nicm Exp $ */
+/* $Id: tty.c,v 1.51 2008-11-16 13:28:59 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -888,7 +888,7 @@ tty_cmd_cell(struct tty *tty, unused struct screen *s, va_list ap)
tty_attributes(tty, gc);
/* If not UTF8 multibyte, write directly. */
- if (gc->data < 0xff) {
+ if (gc->data <= 0xff) {
tty_putc(tty, gc->data);
return;
}