From 4f051baf4514d2a0879490d23b865e76f7562f79 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 22 Mar 2025 23:44:26 +0100 Subject: Add -e, -E, and +E MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/redshift.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/redshift.c') diff --git a/src/redshift.c b/src/redshift.c index 6e9b627..bcd9db9 100644 --- a/src/redshift.c +++ b/src/redshift.c @@ -169,6 +169,7 @@ get_colour_settings(struct colour_setting *colour_out, enum period *period_out, printf(_("Solar elevation: %f\n"), elevation); } *day_level_out = (elevation - scheme.elevation.low) / scheme.elevation.range; + /* TODO ensure scheme.elevation.range==0 is supported */ } else { /* Static scheme, no dayness-level or peroid; day_settings == nigh_settings, use either */ -- cgit v1.2.3-70-g09d2