diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/keyboard/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/keyboard/translate.c b/plugins/keyboard/translate.c index d1fdc58d..25e1c6a6 100644 --- a/plugins/keyboard/translate.c +++ b/plugins/keyboard/translate.c @@ -51,7 +51,7 @@ gboolean translate_key(char *str, guint *state, guint *keycode) goto translation_fail; } *keycode = XKeysymToKeycode(ob_display, sym); - if (!keycode) { + if (!*keycode) { g_warning("Key '%s' does not exist on the display.", l); goto translation_fail; } |
