diff options
Diffstat (limited to 'src/fe-common/core/keyboard.c')
-rw-r--r-- | src/fe-common/core/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/keyboard.c b/src/fe-common/core/keyboard.c index bba8e4dd..ba41e6b2 100644 --- a/src/fe-common/core/keyboard.c +++ b/src/fe-common/core/keyboard.c @@ -265,7 +265,7 @@ static int expand_key(const char *key, GSList **out) start = NULL; last_hyphen = TRUE; for (; *key != '\0'; key++) { if (start != NULL) { - if (isalnum(*key) || *key == '_') { + if (i_isalnum(*key) || *key == '_') { /* key combo continues */ continue; } @@ -291,7 +291,7 @@ static int expand_key(const char *key, GSList **out) expand_out_char(*out, *key); expand_out_char(*out, '-'); last_hyphen = FALSE; /* optional */ - } else if (last_hyphen && isalnum(*key) && !isdigit(*key)) { + } else if (last_hyphen && i_isalnum(*key) && !i_isdigit(*key)) { /* possibly beginning of keycombo */ start = key; last_hyphen = FALSE; |