aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-29 16:08:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-30 16:05:07 +0000
commit149c52bd4496eb4dd13eaa53bec690c60499502a (patch)
tree33985109eef583b91d2ace55ee6945d8fb2df757 /misc.c
parentrender: don’t look at glyphs[0]->cols when determining if overflow should be allowed (diff)
config: remove replaced/removed key bindings, instead of marking as ‘unused’
Instead of keeping removed/replaced key bindings in the key binding array (marked as ‘unused’), remove them, by compacting the array. The invariant is thus that there should be *no* entries in the key binding list with the `BIND_ACTION_NONE` for action. Add code to debug builds that verifies this, plus a unit test. Closes #614
Diffstat (limited to 'misc.c')
0 files changed, 0 insertions, 0 deletions