diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-03-29 11:18:28 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-03-29 11:18:28 +0000 |
commit | 23fef99009dc21eee74865cdf66fb19822876055 (patch) | |
tree | 1e22e685b2ecbd0e651cfdc2acd956193352382b /tty.c | |
parent | 4cbf7d489e1d27a0b85c5d2dee791b108bbb6530 (diff) | |
download | rtmux-23fef99009dc21eee74865cdf66fb19822876055.tar.gz rtmux-23fef99009dc21eee74865cdf66fb19822876055.tar.bz2 rtmux-23fef99009dc21eee74865cdf66fb19822876055.zip |
8 -> UTF8_SIZE.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: tty.c,v 1.85 2009-03-28 20:17:29 nicm Exp $ */ +/* $Id: tty.c,v 1.86 2009-03-29 11:18:28 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -800,8 +800,8 @@ tty_cell( return; } - /* Otherwise, unpack UTF-8 and write it. */ - for (i = 0; i < 8; i++) { + /* Otherwise, write UTF-8. */ + for (i = 0; i < UTF8_SIZE; i++) { if (gu->data[i] == 0xff) break; tty_putc(tty, gu->data[i]); |