aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-w32gdi.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-08 16:08:53 +0100
committerMattias Andrée <m@maandree.se>2025-03-08 16:08:56 +0100
commite519851bf6efde1b1709610e87dc16d98a868c0c (patch)
tree297d7efe591d6866219354c5c13b8c9a1aed2061 /src/gamma-w32gdi.c
parent.lat{ => itude}, .lon{ => gitude} (diff)
downloadredshift-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-w32gdi.c')
-rw-r--r--src/gamma-w32gdi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gamma-w32gdi.c b/src/gamma-w32gdi.c
index ef84744..bc6326c 100644
--- a/src/gamma-w32gdi.c
+++ b/src/gamma-w32gdi.c
@@ -135,7 +135,7 @@ done:
static int
w32gdi_set_temperature(
- struct gamma_state *state, const color_setting_t *setting, int preserve)
+ struct gamma_state *state, const colour_setting_t *setting, int preserve)
{
WORD *gamma_ramps, *gamma_r, *gamma_b, *gamma_g, value;
HDC hDC;
@@ -168,8 +168,7 @@ w32gdi_set_temperature(
}
}
- colorramp_fill_u16(gamma_r, gamma_g, gamma_b, GAMMA_RAMP_SIZE,
- GAMMA_RAMP_SIZE, GAMMA_RAMP_SIZE, setting);
+ colourramp_fill_u16(gamma_r, gamma_g, gamma_b, GAMMA_RAMP_SIZE, GAMMA_RAMP_SIZE, GAMMA_RAMP_SIZE, setting);
/* Set new gamma ramps */
for (i = 0; i < MAX_ATTEMPTS; i++) {