diff options
Diffstat (limited to 'src/gamma-randr.c')
-rw-r--r-- | src/gamma-randr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamma-randr.c b/src/gamma-randr.c index 0594332..6fa2bc6 100644 --- a/src/gamma-randr.c +++ b/src/gamma-randr.c @@ -306,7 +306,7 @@ randr_set_temperature_for_crtc(randr_state_t *state, int crtc_num, const color_setting_t *setting) { xcb_generic_error_t *error; - + if (crtc_num >= state->crtc_count || crtc_num < 0) { fprintf(stderr, _("CRTC %d does not exist. "), state->crtc_num); |