aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term
diff options
context:
space:
mode:
authorRuss Cox <russcox@gmail.com>2009-09-11 17:03:06 -0400
committerRuss Cox <russcox@gmail.com>2009-09-11 17:03:06 -0400
commit0cadb4301d18724e7513d7489cb5bebd262c82f1 (patch)
tree48209a4083885288eaa09178d4017769897107b3 /src/cmd/9term
parent4dbf255619efac4f0a00e4216d6c999128910df2 (diff)
downloadplan9port-0cadb4301d18724e7513d7489cb5bebd262c82f1.tar.gz
plan9port-0cadb4301d18724e7513d7489cb5bebd262c82f1.tar.bz2
plan9port-0cadb4301d18724e7513d7489cb5bebd262c82f1.zip
convert to 4-byte UTF-8 and 32-bit Rune
http://codereview.appspot.com/116075
Diffstat (limited to 'src/cmd/9term')
-rw-r--r--src/cmd/9term/wind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9term/wind.c b/src/cmd/9term/wind.c
index d77b52ee..6f04595d 100644
--- a/src/cmd/9term/wind.c
+++ b/src/cmd/9term/wind.c
@@ -193,7 +193,7 @@ winctl(void *arg)
Rune *rp, *bp, *up, *kbdr;
uint qh;
int nr, nb, c, wid, i, npart, initial, lastb;
- char *s, *t, part[3];
+ char *s, *t, part[UTFmax];
Window *w;
Mousestate *mp, m;
enum { WKey, WMouse, WMouseread, WCtl, WCwrite, WCread, WWread, NWALT };