mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: value_to_bool(): fixup
This commit is contained in:
parent
5bb2973c39
commit
92e08a04ed
1 changed files with 1 additions and 1 deletions
2
config.c
2
config.c
|
|
@ -421,7 +421,7 @@ str_has_prefix(const char *str, const char *prefix)
|
|||
}
|
||||
|
||||
static bool NOINLINE
|
||||
value_to_bool(const struct context *ctx)
|
||||
value_to_bool(struct context *ctx)
|
||||
{
|
||||
const char *s = ctx->value;
|
||||
return strcasecmp(s, "on") == 0 ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue