mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
keymap: Remove incorrect cast
This commit is contained in:
parent
15043e93b6
commit
a535d68380
@ -696,11 +696,14 @@ int find_special_key_in_table(int c)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; key_names_table[i].name != NULL; i++)
|
||||
if (c == (uint8_t)key_names_table[i].key)
|
||||
for (i = 0; key_names_table[i].name != NULL; i++) {
|
||||
if (c == key_names_table[i].key) {
|
||||
break;
|
||||
if (key_names_table[i].name == NULL)
|
||||
}
|
||||
}
|
||||
if (key_names_table[i].name == NULL) {
|
||||
i = -1;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user