mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[kbd] This cast was too narrow
This commit is contained in:
parent
31c3613f25
commit
33324e8582
@ -142,7 +142,7 @@ void kbd_ctrl_c(void);
|
|||||||
int is_blocked(void);
|
int is_blocked(void);
|
||||||
void get_terminal_name(char[MAX_TERM_LEN]);
|
void get_terminal_name(char[MAX_TERM_LEN]);
|
||||||
|
|
||||||
#define kbd_get_key(kbd_) (char)((kbd_)->key)
|
#define kbd_get_key(kbd_) ((kbd_)->key)
|
||||||
#define kbd_key_is(kbd_, key) (kbd_get_key(kbd_) == (key))
|
#define kbd_key_is(kbd_, key) (kbd_get_key(kbd_) == (key))
|
||||||
|
|
||||||
#define kbd_get_modifier(kbd_) ((kbd_)->modifier)
|
#define kbd_get_modifier(kbd_) ((kbd_)->modifier)
|
||||||
|
Loading…
Reference in New Issue
Block a user