From: Charlie Brej Date: Wed, 11 Mar 2009 10:53:07 +0000 (+0000) Subject: Initialise state->showing_details at show_splash X-Git-Tag: 0.7.0~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d4b4d58d033d5b8cfa891ffceda08d5fc7e585f;p=thirdparty%2Fplymouth.git Initialise state->showing_details at show_splash Only effects us when running without rhgb in the kernel line, by having to press Esc twice to get the default splash. --- diff --git a/src/main.c b/src/main.c index 2a745f30..4c88c840 100644 --- a/src/main.c +++ b/src/main.c @@ -565,9 +565,15 @@ on_show_splash (state_t *state) } if (plymouth_should_show_default_splash (state)) - show_default_splash (state); + { + show_default_splash (state); + state->showing_details = false; + } else - show_detailed_splash (state); + { + show_detailed_splash (state); + state->showing_details = true; + } } static void