From e519851bf6efde1b1709610e87dc16d98a868c0c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 8 Mar 2025 16:08:53 +0100 Subject: style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gamma-w32gdi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gamma-w32gdi.c') 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++) { -- cgit v1.2.3-70-g09d2