summaryrefslogtreecommitdiff
path: root/sys/src/cmd/sam/cmd.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-12-31 21:09:46 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2012-12-31 21:09:46 +0100
commit6cadd03bbeace1c256ba875c2e6a877f924877cd (patch)
tree8079ea6f6ccdb1c2cbb2b7813f618837617cb33e /sys/src/cmd/sam/cmd.c
parent6d99096136278f06f6333f927da34105a8dfe0bf (diff)
fix utf and rune handling in preparation for 32bit runes
Diffstat (limited to 'sys/src/cmd/sam/cmd.c')
-rw-r--r--sys/src/cmd/sam/cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/sam/cmd.c b/sys/src/cmd/sam/cmd.c
index d34333d18..a0e336f01 100644
--- a/sys/src/cmd/sam/cmd.c
+++ b/sys/src/cmd/sam/cmd.c
@@ -71,7 +71,7 @@ int
inputc(void)
{
int n, nbuf;
- char buf[3];
+ char buf[UTFmax];
Rune r;
Again: