+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
+1
-1
@@ -167,7 +167,7 @@ vidmode_restore(vidmode_state_t *state)
|
||||
if (!r) {
|
||||
fprintf(stderr, _("X request failed: %s\n"),
|
||||
"XF86VidModeSetGammaRamp");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
@@ -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"
|
||||
|
||||
+3
-3
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user