From ba68997f7ae7a5583a473db53cfd966f8082340c Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Thu, 27 May 2010 02:22:46 +0200 Subject: Use lower case for method and provider names. --- src/redshift.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/redshift.c') diff --git a/src/redshift.c b/src/redshift.c index dc8fae6..6483cf0 100644 --- a/src/redshift.c +++ b/src/redshift.c @@ -94,7 +94,7 @@ typedef union { static const gamma_method_t gamma_methods[] = { #ifdef ENABLE_RANDR { - "RANDR", + "randr", (gamma_method_init_func *)randr_init, (gamma_method_start_func *)randr_start, (gamma_method_free_func *)randr_free, @@ -106,7 +106,7 @@ static const gamma_method_t gamma_methods[] = { #endif #ifdef ENABLE_VIDMODE { - "VidMode", + "vidmode", (gamma_method_init_func *)vidmode_init, (gamma_method_start_func *)vidmode_start, (gamma_method_free_func *)vidmode_free, @@ -118,7 +118,7 @@ static const gamma_method_t gamma_methods[] = { #endif #ifdef ENABLE_WINGDI { - "WinGDI", + "wingdi", (gamma_method_init_func *)w32gdi_init, (gamma_method_start_func *)w32gdi_start, (gamma_method_free_func *)w32gdi_free, @@ -145,7 +145,7 @@ typedef union { static const location_provider_t location_providers[] = { #ifdef ENABLE_GNOME_CLOCK { - "GNOME-Clock", + "gnome-clock", (location_provider_init_func *)location_gnome_clock_init, (location_provider_start_func *)location_gnome_clock_start, (location_provider_free_func *)location_gnome_clock_free, @@ -158,7 +158,7 @@ static const location_provider_t location_providers[] = { }, #endif { - "Manual", + "manual", (location_provider_init_func *)location_manual_init, (location_provider_start_func *)location_manual_start, (location_provider_free_func *)location_manual_free, @@ -513,7 +513,7 @@ main(int argc, char *argv[]) float v = strtof(optarg, &end); if (errno == 0 && *end == ':') { /* Use instead as arguments to `manual'. */ - provider_name = "Manual"; + provider_name = "manual"; provider_args = optarg; } else { /* Split off provider arguments. */ -- cgit v1.2.3-70-g09d2