X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ftranslate.c;h=5b2b4ebee056ff60d3ffd6580dfa74a7d4db5303;hb=77baf26a7f2f64ddf1274035fd4991ab17345904;hp=a9ff3e264c0cf774588235766a7d3ebaab42fefe;hpb=e5a797f10d61e33f5d02c2d276f615ea3a00793f;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; }