summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c
index f026260..34b1718 100644
--- a/src/input.c
+++ b/src/input.c
@@ -270,7 +270,7 @@ binding_t* get_action(i_ctx* c, action_t* a) {
for (isize i = 0; i < c->len; i++) {
if (c->bindings[i].action.type != a->type) continue;
- switch (c->bindings[i].action) {
+ switch (c->bindings[i].action.type) {
case InputType_error:
return NULL;