mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-25 01:40:19 -05:00
config: resolve collisions: return ‘false’ on failure
This commit is contained in:
parent
6fa09d24e5
commit
17250ec393
1 changed files with 2 additions and 0 deletions
2
config.c
2
config.c
|
|
@ -2089,6 +2089,7 @@ resolve_key_binding_collisions(struct config *conf, const char *section_name,
|
|||
has_pipe ? " [" : "",
|
||||
has_pipe ? collision_binding->pipe.argv.args[0] : "",
|
||||
has_pipe ? "]" : "");
|
||||
ret = false;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -2106,6 +2107,7 @@ resolve_key_binding_collisions(struct config *conf, const char *section_name,
|
|||
binding1->lineno, section_name,
|
||||
action_map[binding1->action],
|
||||
modifier_names, sym_name, override_names);
|
||||
ret = false;
|
||||
free(override_names);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue