diff options
| author | Teddy Wing | 2018-08-29 12:12:14 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-08-29 12:12:14 +0200 |
| commit | b8b09aa2ef1e945aaf7283de63d1d1f57585373b (patch) | |
| tree | 761befbd576cc9b302c21c63f6810360c0feca30 /includer.c | |
| parent | 5d2685b89e891a8049fbbc635909b556c804eee7 (diff) | |
| download | dome-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
