X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=openbox%2Ftranslate.c;h=210155789927eae576028c6e8af45d421eaa178f;hb=c6b22725640c2c1ab1023996807e750a11bd72f8;hp=e7962ad575561b2f89e3e8d7e72e94b643eb1e9f;hpb=7f5347897754164c9688d7e3d882411283c13a55;p=chaz%2Fopenbox 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')