summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-07-11 18:00:31 +0300
committerDaniel Stone <daniel@fooishbar.org>2012-07-12 09:42:20 +0100
commit1f492901314baae0172c19414fac6829089f97a4 (patch)
tree1e105e53478b4c46f7015f93eedf53ea21de95e6 /src/text.c
parent010242593e63a6b6d763de1b446097cccf876ad8 (diff)
downloadlibxkbcommon-1f492901314baae0172c19414fac6829089f97a4.tar.gz
libxkbcommon-1f492901314baae0172c19414fac6829089f97a4.tar.bz2
libxkbcommon-1f492901314baae0172c19414fac6829089f97a4.zip
Enlarge keysym name buffers and mention in comment
The longest keysym is 27 chars long. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.c b/src/text.c
index d30c4b7..9db34d5 100644
--- a/src/text.c
+++ b/src/text.c
@@ -241,7 +241,7 @@ XkbcActionTypeText(unsigned type)
const char *
XkbcKeysymText(xkb_keysym_t sym)
{
- static char buffer[16];
+ static char buffer[64];
xkb_keysym_get_name(sym, buffer, sizeof buffer);