From: James Turner Date: Fri, 11 May 2012 16:07:37 +0000 (+0100) Subject: Don't repeat splash-screen status on the console. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=02fcd32e445a4088bcd73ae5de563ff0bc6d537e;p=flightgear.git Don't repeat splash-screen status on the console. --- diff --git a/src/Viewer/splash.cxx b/src/Viewer/splash.cxx index 78d79aa0b..06adfccb5 100644 --- a/src/Viewer/splash.cxx +++ b/src/Viewer/splash.cxx @@ -371,6 +371,10 @@ void fgSplashInit () { } void fgSplashProgress ( const char *text ) { + if (!strcmp(fgGetString("/sim/startup/splash-progress-text"), text)) { + return; + } + SG_LOG( SG_VIEW, SG_INFO, "Splash screen progress " << text ); fgSetString("/sim/startup/splash-progress-text", text); }