aboutsummaryrefslogtreecommitdiffstats
path: root/includer.c
diff options
context:
space:
mode:
authorTeddy Wing2018-08-29 12:12:14 +0200
committerTeddy Wing2018-08-29 12:12:14 +0200
commitb8b09aa2ef1e945aaf7283de63d1d1f57585373b (patch)
tree761befbd576cc9b302c21c63f6810360c0feca30 /includer.c
parent5d2685b89e891a8049fbbc635909b556c804eee7 (diff)
downloaddome-key-map-b8b09aa2ef1e945aaf7283de63d1d1f57585373b.tar.bz2
c_run_key_action(): Make `trigger` argument nullable
Actually, now that I think about it, the trigger argument shouldn't be nullable, since one should always be passed in. But this was really more of a test to make sure we could do the same for a new `mode` argument, which will also be a `Trigger`, but which might be null.
Diffstat (limited to 'includer.c')
-rw-r--r--includer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/includer.c b/includer.c
index 2c89064..fae44b3 100644
--- a/includer.c
+++ b/includer.c
@@ -9,7 +9,7 @@ int main() {
.buttons = buttons,
.length = SIZE
};
- const CKeyActionResult *result = c_run_key_action(trigger);
+ const CKeyActionResult *result = c_run_key_action(&trigger);
printf("%s", result->action);
return 0;