summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-08-21 11:21:19 +0100
committerDaniel Stone <daniel@fooishbar.org>2012-09-10 18:26:20 +0100
commitf5dffd2b6e6a6e3875908961bfd8cd6652c49929 (patch)
tree08fe0460337fe38dc36c23a185d3afc8f30147c8 /src/text.c
parent3b6b214c78c2c4fcecae1023ae92dfd29b160c42 (diff)
downloadlibxkbcommon-f5dffd2b6e6a6e3875908961bfd8cd6652c49929.tar.gz
libxkbcommon-f5dffd2b6e6a6e3875908961bfd8cd6652c49929.tar.bz2
libxkbcommon-f5dffd2b6e6a6e3875908961bfd8cd6652c49929.zip
kbproto untanglement: XkbKeyNameLength
Define it ourselves as XKB_KEY_NAME_LENGTH and use that, instead of the one from XKB.h. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
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 297da59..4e22f82 100644
--- a/src/text.c
+++ b/src/text.c
@@ -426,7 +426,7 @@ KeysymText(xkb_keysym_t sym)
}
const char *
-KeyNameText(const char name[XkbKeyNameLength])
+KeyNameText(const char name[XKB_KEY_NAME_LENGTH])
{
char *buf;
int len;