aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-01-03 07:00:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-01-03 07:00:53 +0000
commitb66a076bf1c0398521315c52ed77d3d7fa1a222f (patch)
tree3af0b7902ff9b67a304e6f2e599df45dc06bead9 /config.c
parentmeson: bump version to 1.20.0 (diff)
parentrender: fix order we're checking custom codepoints (diff)
Merge branch 'master' into releases/1.20
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 7f1ce055..3b8ce7e8 100644
--- a/config.c
+++ b/config.c
@@ -1445,8 +1445,8 @@ parse_section_colors(struct context *ctx)
if (!value_to_float(ctx, &alpha))
return false;
- if (alpha < 0. || alpha > 1.) {
- LOG_CONTEXTUAL_ERR("not in range 0.0-1.0");
+ if (alpha < 0. || alpha >= 1.) {
+ LOG_CONTEXTUAL_ERR("not in range 0.0-0.999");
return false;
}