From 378f91b70c54cc111684f4a3a8f2b868af570fd8 Mon Sep 17 00:00:00 2001 From: 0scar Date: Wed, 2 Aug 2023 16:17:17 +0200 Subject: Add reloading of state-specific keybindings bindings --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input.c') diff --git a/src/input.c b/src/input.c index 6b02ad7..d53e7ed 100644 --- a/src/input.c +++ b/src/input.c @@ -74,7 +74,7 @@ void i_flush_bindings(usize numcalls, void* state_mem, input_callback_t* c[]) { } } -action_t i_get_action(const i_ctx *ctx, u32 time, scancode_t scancode) { +action_t i_get_action(const i_ctx *restrict ctx, u32 time, scancode_t scancode) { isize idx = 0; if (ctx == NULL) { -- cgit v1.3