From 6b61e3f9e4f61dd53d996d739d93edb861e4cfe3 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 4 Aug 2015 14:01:37 +0200 Subject: Remove trailing whitespaces --- src/config-ini.c | 2 +- src/gamma-randr.c | 2 +- src/gamma-vidmode.c | 2 +- src/location-geoclue.c | 4 ++-- src/redshift.c | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/config-ini.c b/src/config-ini.c index 65751dd..749512a 100644 --- a/src/config-ini.c +++ b/src/config-ini.c @@ -226,7 +226,7 @@ config_ini_init(config_ini_state_t *state, const char *filepath) config_ini_free(state); return -1; } - + /* Insert into section list. */ setting->name = NULL; setting->value = NULL; 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); diff --git a/src/gamma-vidmode.c b/src/gamma-vidmode.c index 254d065..c9682d2 100644 --- a/src/gamma-vidmode.c +++ b/src/gamma-vidmode.c @@ -167,7 +167,7 @@ vidmode_restore(vidmode_state_t *state) if (!r) { fprintf(stderr, _("X request failed: %s\n"), "XF86VidModeSetGammaRamp"); - } + } } int diff --git a/src/location-geoclue.c b/src/location-geoclue.c index 851a75b..e24c2d2 100644 --- a/src/location-geoclue.c +++ b/src/location-geoclue.c @@ -50,7 +50,7 @@ location_geoclue_init(location_geoclue_state_t *state) state->position = NULL; state->provider = NULL; state->provider_path = NULL; - + return 0; } @@ -200,7 +200,7 @@ location_geoclue_get_location(location_geoclue_state_t *state, g_error_free(error); return -1; } - + if (fields & GEOCLUE_POSITION_FIELDS_LATITUDE && fields & GEOCLUE_POSITION_FIELDS_LONGITUDE) { fprintf(stdout, _("According to the geoclue provider" diff --git a/src/redshift.c b/src/redshift.c index defd0a1..a8c49b6 100644 --- a/src/redshift.c +++ b/src/redshift.c @@ -1447,9 +1447,9 @@ main(int argc, char *argv[]) stderr); exit(EXIT_FAILURE); } - + provider->free(&location_state); - + if (verbose) { print_location(&loc); @@ -1470,7 +1470,7 @@ main(int argc, char *argv[]) MIN_LAT, MAX_LAT); exit(EXIT_FAILURE); } - + /* Longitude */ if (loc.lon < MIN_LON || loc.lon > MAX_LON) { /* TRANSLATORS: Append degree symbols if possible. */ -- cgit v1.2.3-70-g09d2