keymap: Readd figure braces disappeared when resolving conflicts

This commit is contained in:
ZyX 2017-10-15 21:22:49 +03:00
parent 76f0466536
commit 4ccaf86110

View File

@ -719,8 +719,8 @@ int get_special_key_code(const char_u *name)
for (int i = 0; key_names_table[i].name != NULL; i++) {
const char *const table_name = key_names_table[i].name;
int j;
for (j = 0; vim_isIDc(name[j]) && table_name[j] != NUL; j++)
if (TOLOWER_ASC(table_name[j]) != TOLOWER_ASC(name[j]))
for (j = 0; vim_isIDc(name[j]) && table_name[j] != NUL; j++) {
if (TOLOWER_ASC(table_name[j]) != TOLOWER_ASC(name[j])) {
break;
}
}