mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-10 04:27:45 -05:00
config: parse_key_combos: lower case manually, instead of calling tolower()
tolower() is locale dependent, something we do not want in this case.
This commit is contained in:
parent
3a4f6c469b
commit
1b4d9eade0
1 changed files with 1 additions and 1 deletions
2
config.c
2
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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue