mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
config: use “(default)” as path in log message, if path is NULL
This commit is contained in:
parent
ff82a3900e
commit
6fa09d24e5
1 changed files with 2 additions and 1 deletions
3
config.c
3
config.c
|
|
@ -2102,7 +2102,8 @@ resolve_key_binding_collisions(struct config *conf, const char *section_name,
|
|||
LOG_AND_NOTIFY_ERR(
|
||||
"%s:%d: [%s].%s: %s%s: "
|
||||
"modifiers conflict with 'selection-override-modifiers=%s'",
|
||||
binding1->path, binding1->lineno, section_name,
|
||||
binding1->path != NULL ? binding1->path : "(default)",
|
||||
binding1->lineno, section_name,
|
||||
action_map[binding1->action],
|
||||
modifier_names, sym_name, override_names);
|
||||
free(override_names);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue