Allow setting splash theme to 'none'.

If 'none' was set, no splash theme will be used. This is another way
splash screen can be disabled without adding '-n' option to evoke.
This commit is contained in:
Sanel Zukan 2014-12-08 23:00:55 +00:00
parent 09b1d6fe74
commit 29475da925
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ void Splash::show(void) {
void Splash::run(void) {
E_ASSERT(slist != NULL);
if(!show_splash) {
if(!show_splash || (splash_theme && (strcasecmp(splash_theme->c_str(), "none") == 0))) {
while(next_client_nosplash())
;
return;