diff options
author | Mattias Andrée <m@maandree.se> | 2025-03-08 16:08:53 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-03-08 16:08:56 +0100 |
commit | e519851bf6efde1b1709610e87dc16d98a868c0c (patch) | |
tree | 297d7efe591d6866219354c5c13b8c9a1aed2061 /src/gamma-coopgamma.c | |
parent | .lat{ => itude}, .lon{ => gitude} (diff) | |
download | redshift-ng-e519851bf6efde1b1709610e87dc16d98a868c0c.tar.gz redshift-ng-e519851bf6efde1b1709610e87dc16d98a868c0c.tar.bz2 redshift-ng-e519851bf6efde1b1709610e87dc16d98a868c0c.tar.xz |
style
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src/gamma-coopgamma.c')
-rw-r--r-- | src/gamma-coopgamma.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gamma-coopgamma.c b/src/gamma-coopgamma.c index db0db4a..ae2c1f9 100644 --- a/src/gamma-coopgamma.c +++ b/src/gamma-coopgamma.c @@ -472,7 +472,7 @@ coopgamma_restore(struct gamma_state *state) } static int -coopgamma_set_temperature(struct gamma_state *state, const struct color_setting *setting, int perserve) +coopgamma_set_temperature(struct gamma_state *state, const struct colour_setting *setting, int perserve) { libcoopgamma_filter_t *filter; libcoopgamma_filter_t *last_filter = NULL; @@ -497,13 +497,13 @@ coopgamma_set_temperature(struct gamma_state *state, const struct color_setting switch (filter->depth) { #define X(SUFFIX, TYPE, MAX, DEPTH)\ case DEPTH:\ - colorramp_fill_##SUFFIX((void *)(filter->ramps.u8.red),\ - (void *)(filter->ramps.u8.green),\ - (void *)(filter->ramps.u8.blue),\ - filter->ramps.u8.red_size,\ - filter->ramps.u8.green_size,\ - filter->ramps.u8.blue_size,\ - setting);\ + colourramp_fill_##SUFFIX((void *)(filter->ramps.u8.red),\ + (void *)(filter->ramps.u8.green),\ + (void *)(filter->ramps.u8.blue),\ + filter->ramps.u8.red_size,\ + filter->ramps.u8.green_size,\ + filter->ramps.u8.blue_size,\ + setting);\ break LIST_RAMPS_STOP_VALUE_TYPES(X, ;); #undef X |