mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05:00
input: fix debug log format specifier; ‘count’ is a size_t
This commit is contained in:
parent
1752745fcf
commit
63e8b1b292
1 changed files with 1 additions and 1 deletions
2
input.c
2
input.c
|
|
@ -1054,7 +1054,7 @@ legacy_kbd_protocol(struct seat *seat, struct terminal *term,
|
|||
#define is_control_key(x) ((x) >= 0x40 && (x) <= 0x7f)
|
||||
#define IS_CTRL(x) ((x) < 0x20 || ((x) >= 0x7f && (x) <= 0x9f))
|
||||
|
||||
LOG_DBG("term->modify_other_keys=%d, count=%d, is_ctrl=%d (utf8=0x%02x), sym=%d",
|
||||
LOG_DBG("term->modify_other_keys=%d, count=%zu, is_ctrl=%d (utf8=0x%02x), sym=%d",
|
||||
term->modify_other_keys_2, count, IS_CTRL(utf8[0]), utf8[0], sym);
|
||||
|
||||
bool ctrl_is_in_effect = (keymap_mods & MOD_CTRL) != 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue