summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/key-string.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2017-02-22 09:01:33 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2017-02-22 09:01:33 +0000
commit278ccd8bade672c34625ed8b202883732fef0fc8 (patch)
treefda69410e05c363f1a6d4b423112b9d5d2842210 /usr.bin/tmux/key-string.c
parenta5f28464e7135957a959eb67494721dd74b92d19 (diff)
Minor bits: fix an array size, add comment, make grid_cell_entry static.
Diffstat (limited to 'usr.bin/tmux/key-string.c')
-rw-r--r--usr.bin/tmux/key-string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/key-string.c b/usr.bin/tmux/key-string.c
index b973b81102a..cbeb81c59e4 100644
--- a/usr.bin/tmux/key-string.c
+++ b/usr.bin/tmux/key-string.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: key-string.c,v 1.44 2017/02/01 09:55:07 nicm Exp $ */
+/* $OpenBSD: key-string.c,v 1.45 2017/02/22 09:01:32 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -232,7 +232,7 @@ key_string_lookup_string(const char *string)
const char *
key_string_lookup_key(key_code key)
{
- static char out[24];
+ static char out[32];
char tmp[8];
u_int i;
struct utf8_data ud;