X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ftranslate.c;h=5b2b4ebee056ff60d3ffd6580dfa74a7d4db5303;hb=098ae047f89f23d888f26425f7c5f77b75437d91;hp=a9ff3e264c0cf774588235766a7d3ebaab42fefe;hpb=31d7680274cdf2fa3c45b8c8d56db2b5d8fbc111;p=chaz%2Fopenbox diff --git a/openbox/translate.c b/openbox/translate.c index a9ff3e26..5b2b4ebe 100644 --- a/openbox/translate.c +++ b/openbox/translate.c @@ -68,7 +68,7 @@ gboolean translate_button(const gchar *str, guint *state, guint *button) gboolean ret = FALSE; parsed = g_strsplit(str, "-", -1); - + /* first, find the button (last token) */ l = NULL; for (i = 0; parsed[i] != NULL; ++i) @@ -110,7 +110,7 @@ gboolean translate_key(const gchar *str, guint *state, guint *keycode) KeySym sym; parsed = g_strsplit(str, "-", -1); - + /* first, find the key (last token) */ l = NULL; for (i = 0; parsed[i] != NULL; ++i) @@ -145,7 +145,7 @@ gboolean translate_key(const gchar *str, guint *state, guint *keycode) *keycode = XKeysymToKeycode(ob_display, sym); } if (!*keycode) { - g_message(_("Requested key '%s' does not exist on the display"), l); + g_message(_("Requested key '%s' does not exist on the display"), l); goto translation_fail; }