]> git.mxchange.org Git - flightgear.git/commitdiff
Don't repeat splash-screen status on the console.
authorJames Turner <zakalawe@mac.com>
Fri, 11 May 2012 16:07:37 +0000 (17:07 +0100)
committerJames Turner <zakalawe@mac.com>
Fri, 11 May 2012 16:07:37 +0000 (17:07 +0100)
src/Viewer/splash.cxx

index 78d79aa0b9101cfcd75ce6d40d4876eb61fe77fc..06adfccb539b4dbb38b9595cca6c448ff7946cad 100644 (file)
@@ -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);
 }