diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-10-11 18:53:44 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-10-11 18:53:44 +0200 |
commit | 770952b860723d9b159c51cf2fd79f98b7b43ce4 (patch) | |
tree | 1c41b2278429bae09cb0e9c2db9de20d66f35fdd /plugins/hotkeys/hotkeys.c | |
parent | 8526710e817bb2e0b82bf1fd57d782e6a802248a (diff) |
[hotkeys] fixed crash on non-ascii keycodes
Diffstat (limited to 'plugins/hotkeys/hotkeys.c')
-rw-r--r-- | plugins/hotkeys/hotkeys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c index b37dbd89..6da81a25 100644 --- a/plugins/hotkeys/hotkeys.c +++ b/plugins/hotkeys/hotkeys.c @@ -557,7 +557,7 @@ hotkeys_get_action_for_keycombo (int key, int mods, int isglobal, int *ctx) { int i; // find mapped keycode - if (isupper (key)) { + if (key < 0x7f && isupper (key)) { key = tolower (key); } |