Make binding modes case sensitive

This commit is contained in:
nejni-marji
2019-01-16 19:32:24 -06:00
parent 5aa0459be0
commit 22ac5827b0
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ CFGFUN(mode_binding, const char *bindtype, const char *modifiers, const char *ke
}
CFGFUN(enter_mode, const char *pango_markup, const char *modename) {
if (strcasecmp(modename, DEFAULT_BINDING_MODE) == 0) {
if (strcmp(modename, DEFAULT_BINDING_MODE) == 0) {
ELOG("You cannot use the name %s for your mode\n", DEFAULT_BINDING_MODE);
return;
}