mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
clearly mark bell as a section
This commit is contained in:
parent
dc9751cbfe
commit
b3117f75d8
1 changed files with 1 additions and 1 deletions
2
config.c
2
config.c
|
|
@ -594,7 +594,7 @@ parse_section_main(const char *key, const char *value, struct config *conf,
|
|||
}
|
||||
|
||||
else if (strcmp(key, "bell") == 0) {
|
||||
LOG_WARN("deprecated: %s:%d: [default]: bell: set actions in section 'bell' instead", path, lineno);
|
||||
LOG_WARN("deprecated: %s:%d: [default]: bell: set actions in section '[bell]' instead", path, lineno);
|
||||
|
||||
const char fmt[] = "%s:%d \033[1mbell\033[21m, use section \033[1m[bell]\033[21m instead";
|
||||
char *text = xasprintf(fmt, path, lineno);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue