summaryrefslogtreecommitdiff
path: root/plugins/hotkeys/hotkeys.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-11 18:53:44 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-11 18:53:44 +0200
commit770952b860723d9b159c51cf2fd79f98b7b43ce4 (patch)
tree1c41b2278429bae09cb0e9c2db9de20d66f35fdd /plugins/hotkeys/hotkeys.c
parent8526710e817bb2e0b82bf1fd57d782e6a802248a (diff)
[hotkeys] fixed crash on non-ascii keycodes
Diffstat (limited to 'plugins/hotkeys/hotkeys.c')
-rw-r--r--plugins/hotkeys/hotkeys.c2
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);
}