diff options
author | Michael Vetter <jubalh@openmailbox.org> | 2015-08-04 14:01:37 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@openmailbox.org> | 2015-08-04 14:01:37 +0200 |
commit | 6b61e3f9e4f61dd53d996d739d93edb861e4cfe3 (patch) | |
tree | f885f2f67ebcaee95b041a4ef55373d272ce4b3e /src | |
parent | Merge pull request #237 from bigon/master (diff) | |
download | redshift-ng-6b61e3f9e4f61dd53d996d739d93edb861e4cfe3.tar.gz redshift-ng-6b61e3f9e4f61dd53d996d739d93edb861e4cfe3.tar.bz2 redshift-ng-6b61e3f9e4f61dd53d996d739d93edb861e4cfe3.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'src')
-rw-r--r-- | src/config-ini.c | 2 | ||||
-rw-r--r-- | src/gamma-randr.c | 2 | ||||
-rw-r--r-- | src/gamma-vidmode.c | 2 | ||||
-rw-r--r-- | src/location-geoclue.c | 4 | ||||
-rw-r--r-- | src/redshift.c | 6 |
5 files changed, 8 insertions, 8 deletions
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. */ |