diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-21 17:04:36 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-21 17:04:36 +0000 |
| commit | cdb2d90b893f35326146dbc657952265f1bf61ac (patch) | |
| tree | 62b63cefa32fe8dd4753d00b00678dc95aaa6c9b /input.c | |
| parent | config: pipe_argv_from_value(): plug memory leak (diff) | |
config: argv_compare(): change parameters to ‘struct argv *’
Instead of passing raw char** pointers to argv_compare(), pass
pointers to ‘struct argv’.
This lets argv_compare() handle both argv’s being NULL, or one of them
being NULL. That is, the caller no longer needs to check that both
argv’s are non-NULL before calling argv_compare().
Furthermore, update has_key_binding_collisions() to require the pipe
argv to match, in addition to matching the ‘action’, when allowing a
key collision.
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions
