summaryrefslogtreecommitdiff
path: root/openbox/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/translate.c')
-rw-r--r--openbox/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/translate.c b/openbox/translate.c
index e7962ad5..21015578 100644
--- a/openbox/translate.c
+++ b/openbox/translate.c
@@ -156,7 +156,7 @@ translation_fail:
return ret;
}
-const gchar *translate_keycode(guint keycode)
+gchar *translate_keycode(guint keycode)
{
KeySym sym;
const gchar *ret = NULL;
@@ -170,7 +170,7 @@ gunichar translate_unichar(guint keycode)
{
gunichar unikey = 0;
- const char *key;
+ char *key;
if ((key = translate_keycode(keycode)) != NULL &&
/* don't accept keys that aren't a single letter, like "space" */
key[1] == '\0')