From 1b4d9eade004c9050a918563e00d56de965d97e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 28 Feb 2021 11:38:33 +0100 Subject: [PATCH] config: parse_key_combos: lower case manually, instead of calling tolower() tolower() is locale dependent, something we do not want in this case. --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 633d1ad9..927d9450 100644 --- a/config.c +++ b/config.c @@ -1202,7 +1202,7 @@ parse_key_combos(struct config *conf, const char *combos, key_combo_list_t *key_ "shifted keys not supported with explicit \033[1mShift\033[m " "modifier", path, lineno, section, option, combo); - *key = tolower(*key); + *key = *key - 'A' + 'a'; } /* Translate key name to symbol */