diff options
Diffstat (limited to 'src/gamma-w32gdi.c')
-rw-r--r-- | src/gamma-w32gdi.c | 5 |
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++) { |