diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2015-12-28 11:02:56 -0500 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2015-12-28 11:02:56 -0500 |
commit | a53dddb535a68deba078558e400aea3d1d75b250 (patch) | |
tree | 81d13a14ee54fc0216f7437009bdfde0ef66e280 | |
parent | Merge pull request #245 from jubalh/de-trans (diff) | |
parent | Remove trailing whitespaces (diff) | |
download | redshift-ng-a53dddb535a68deba078558e400aea3d1d75b250.tar.gz redshift-ng-a53dddb535a68deba078558e400aea3d1d75b250.tar.bz2 redshift-ng-a53dddb535a68deba078558e400aea3d1d75b250.tar.xz |
Merge pull request #244 from jubalh/master
Remove trailing whitespaces
-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. */ |