From 5ca710d9e3284393dfbd294915e9e4251b0fe728 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 16 Nov 2008 13:28:59 +0000 Subject: Disable UTF-8 by default and add options to enable it. --- tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tty.c') 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 @@ -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; } -- cgit