mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 21:25:04 -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;
|
int i;
|
||||||
|
|
||||||
for (i = 0; key_names_table[i].name != NULL; i++)
|
for (i = 0; key_names_table[i].name != NULL; i++) {
|
||||||
if (c == (uint8_t)key_names_table[i].key)
|
if (c == key_names_table[i].key) {
|
||||||
break;
|
break;
|
||||||
if (key_names_table[i].name == NULL)
|
}
|
||||||
|
}
|
||||||
|
if (key_names_table[i].name == NULL) {
|
||||||
i = -1;
|
i = -1;
|
||||||
|
}
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user