From: Ray Strode Date: Wed, 24 Mar 2010 17:53:37 +0000 (-0400) Subject: [main] Fix config file look up properly X-Git-Tag: 0.8.1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d449a327cfae2e20400c03686746c271e90088fe;p=thirdparty%2Fplymouth.git [main] Fix config file look up properly Before we were writing the config file splash into the override_splash_path variable instead of the variable meant for that config file. --- diff --git a/src/main.c b/src/main.c index a55ef706..a9f23d82 100644 --- a/src/main.c +++ b/src/main.c @@ -239,7 +239,7 @@ find_system_default_splash (state_t *state) ply_trace ("System default splash is configured to be '%s'", splash_string); - asprintf (&state->override_splash_path, + asprintf (&state->system_default_splash_path, PLYMOUTH_THEME_PATH "%s/%s.plymouth", splash_string, splash_string); free (splash_string); @@ -268,7 +268,7 @@ find_distribution_default_splash (state_t *state) ply_trace ("Distribution default splash is configured to be '%s'", splash_string); - asprintf (&state->override_splash_path, + asprintf (&state->distribution_default_splash_path, PLYMOUTH_THEME_PATH "%s/%s.plymouth", splash_string, splash_string); free (splash_string);